summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2014-10-22 20:55:35 +0200
committerPeter Palfrader <peter@palfrader.org>2014-10-22 20:55:35 +0200
commit0de3b1bc5a595e0ca3ac73d73ed8a161a543f355 (patch)
treefd5ff2d0c612c83aab9a064dce821995b7e8f994
parentdb1e7226380c1c3eee490dee446fe2e5709d5843 (diff)
Fix "defined(@array) is deprecated" in Echolot/Tools.pm
-rw-r--r--Echolot/Tools.pm2
-rw-r--r--NEWS1
2 files changed, 2 insertions, 1 deletions
diff --git a/Echolot/Tools.pm b/Echolot/Tools.pm
index 6828ed7..0ed423c 100644
--- a/Echolot/Tools.pm
+++ b/Echolot/Tools.pm
@@ -344,7 +344,7 @@ sub readwrite_gpg($$$$$) {
}
}
- next unless (defined(@$readyr)); # Wait some more.
+ next unless (defined($readyr)); # Wait some more.
for my $rfd (@$readyr) {
if ($rfd->eof) {
diff --git a/NEWS b/NEWS
index e82e560..033dcfd 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ Changes in
closes: DebianBug#459938.
* Fix a bashishm in tools/create-distribution.
* Fix a markup typo in the pingd manpage.
+ * Fix "defined(@array) is deprecated" in Echolot/Tools.pm
Changes in version 2.1.8 - 2005-04-25
* debian: Redirect init script output to /dev/null in logrotate