summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shells/posh/distinfo3
-rw-r--r--shells/posh/patches/patch-aa22
2 files changed, 24 insertions, 1 deletions
diff --git a/shells/posh/distinfo b/shells/posh/distinfo
index 941da7d8b49..5fd0f486670 100644
--- a/shells/posh/distinfo
+++ b/shells/posh/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2004/08/29 14:47:07 recht Exp $
+$NetBSD: distinfo,v 1.3 2004/09/08 12:00:09 jmmv Exp $
SHA1 (posh_0.3.9.tar.gz) = 8ae9e3b0dee08b2a6ccd694000fad49cec3678b0
Size (posh_0.3.9.tar.gz) = 727145 bytes
+SHA1 (patch-aa) = bdd8ffb67ccd60064b0fb5bda7935001f6807380
diff --git a/shells/posh/patches/patch-aa b/shells/posh/patches/patch-aa
new file mode 100644
index 00000000000..831e964a58c
--- /dev/null
+++ b/shells/posh/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2004/09/08 12:00:09 jmmv Exp $
+
+--- src/builtins.c.orig 2004-09-08 13:54:59.000000000 +0200
++++ src/builtins.c
+@@ -450,6 +450,8 @@ int posh_builtin_exitreturn(int argc, ch
+
+ static void ers_walk(const void *nodep, const VISIT which, const int UNUSED(depth)) {
+ struct tbl *vp;
++ struct tbl *tvp;
++ int any_set = 0;
+
+ switch(which) {
+ case preorder:
+@@ -460,8 +458,6 @@ static void ers_walk(const void *nodep,
+ case postorder:
+ case leaf:
+ vp = *(struct tbl **)nodep;
+- struct tbl *tvp;
+- int any_set = 0;
+ /*
+ * See if the parameter is set (for arrays, if any
+ * element is set).