From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-shells/psh/files/psh-1.8.1-r3-defined-array.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app-shells/psh/files/psh-1.8.1-r3-defined-array.patch (limited to 'app-shells/psh/files/psh-1.8.1-r3-defined-array.patch') diff --git a/app-shells/psh/files/psh-1.8.1-r3-defined-array.patch b/app-shells/psh/files/psh-1.8.1-r3-defined-array.patch new file mode 100644 index 000000000000..660ca34daf44 --- /dev/null +++ b/app-shells/psh/files/psh-1.8.1-r3-defined-array.patch @@ -0,0 +1,11 @@ +--- 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) { -- cgit v1.2.3