Send inn-workers mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/inn-workers
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-workers digest..."


Today's Topics:

   1. inncheck warning (Remco Rijnders)


----------------------------------------------------------------------

Message: 1
Date: Fri, 21 Jun 2013 19:20:16 +0200
From: Remco Rijnders <[email protected]>
To: [email protected]
Subject: inncheck warning
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Hi all,

Running inncheck today, I got the following warning:

[root@ketelbinkie inn]# inncheck
defined(@array) is deprecated at /usr/bin/inncheck line 1033.
  (Maybe you should just omit the defined()?)

This is with perl 5.18.

The attached patch will hopefully make this warning go away. Please note 
that I have only tested it in as far as that it makes the warning go away.

Remmy
-------------- next part --------------
Index: scripts/inncheck.in
===================================================================
--- scripts/inncheck.in (revision 9489)
+++ scripts/inncheck.in (working copy)
@@ -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;
+       if !@$m;
 
     if ( ! -e $f ) {
        eprint "$pfx$f:0: missing\n";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: 
<https://lists.isc.org/pipermail/inn-workers/attachments/20130621/6ed8c92a/attachment-0001.bin>

------------------------------

_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers

End of inn-workers Digest, Vol 52, Issue 6
******************************************

Reply via email to