INN commit: branches/2.5 (3 files)
INN Commit
rra at isc.org
Mon Jun 24 18:36:25 UTC 2013
Date: Monday, June 24, 2013 @ 11:36:24
Author: iulius
Revision: 9491
fix a Perl warning in inncheck
defined(@array) has been deprecated since Perl 5.16.
Thanks to Remco Rijnders for the report.
Modified:
branches/2.5/CONTRIBUTORS
branches/2.5/doc/pod/news.pod
branches/2.5/scripts/inncheck.in
---------------------+
CONTRIBUTORS | 2 +-
doc/pod/news.pod | 5 +++++
scripts/inncheck.in | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
Modified: CONTRIBUTORS
===================================================================
--- CONTRIBUTORS 2013-06-24 18:35:45 UTC (rev 9490)
+++ CONTRIBUTORS 2013-06-24 18:36:24 UTC (rev 9491)
@@ -275,4 +275,4 @@
Lars Magne Ingebrigtsen, Sam Varshavchik, Matthew Vernon, Ian Jackson,
Edmund H. Ramm, Raphael Barrois, Bo Lindbergh, Matthias Meyser,
Dennis Preiser, Paolo Amoroso, Dennis Davis, River Tarnell, Jochen Schmitt,
-Tim Fardell
+Tim Fardell, Remco Rijnders
Modified: doc/pod/news.pod
===================================================================
--- doc/pod/news.pod 2013-06-24 18:35:45 UTC (rev 9490)
+++ doc/pod/news.pod 2013-06-24 18:36:24 UTC (rev 9491)
@@ -33,6 +33,11 @@
=item *
+Fix a Perl warning in B<inncheck>; using C<defined(@array)> has been
+deprecated since S<Perl 5.16>.
+
+=item *
+
Fixed the occurrence of an unexpected C<cant select> error generated by
B<innd>. Thanks to Paul Tomblin for having caught that long-standing
issue.
Modified: scripts/inncheck.in
===================================================================
--- scripts/inncheck.in 2013-06-24 18:35:45 UTC (rev 9490)
+++ scripts/inncheck.in 2013-06-24 18:36:24 UTC (rev 9491)
@@ -1030,7 +1030,7 @@
die "Internal error, undefined name in perm from ", (caller(0))[2], "\n"
if !defined $f;
die "Internal error, undefined mode in perm from ", (caller(0))[2], "\n"
- if !defined @$m;
+ unless (@$m);
if ( ! -e $f ) {
eprint "$pfx$f:0: missing\n";
More information about the inn-committers
mailing list