You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-shells/psh/files/psh-1.8.1-r3-defined-array....

12 lines
295 B

--- a/lib/Psh.pm 2007-07-21 16:40:44.000000000 +1200
+++ b/lib/Psh.pm 2015-07-18 05:30:29.840928282 +1200
@@ -367,7 +367,7 @@
sub defined_and_nonempty
{
- if (!defined(@_)) { return 0; }
+ if (!@_) { return 0; }
if (scalar(@_) == 0) { return 0; }
if (scalar(@_) == 1) {