summaryrefslogtreecommitdiff
path: root/shells/bash/files/patch-variables.c
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-10-09 10:16:33 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-10-09 10:16:33 +0000
commit47f31953552268a8ee4a485a43d6ff8066dd6971 (patch)
tree5e5058993123f76f8d5b9f526982fbb41bd5467c /shells/bash/files/patch-variables.c
parentFix build with gcc-3.4, agg developers released a fix but didn't (diff)
Fix process substitution on systems without fdescfs (FreeBSD 5.x, 6.x)
While I'm here, use the official patchset instead of the custom ones and reflect the port revision in the version number. Submitted by: Reinhard Speyerer <rspmn@arcor.de> Approved by: portmgr (krion)
Notes
Notes: svn path=/head/; revision=118594
Diffstat (limited to '')
-rw-r--r--shells/bash/files/patch-variables.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/shells/bash/files/patch-variables.c b/shells/bash/files/patch-variables.c
deleted file mode 100644
index ac4bb07c3e37..000000000000
--- a/shells/bash/files/patch-variables.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Fix segmentation fault in unset typeset array variable
-#
-# http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00190.html
-#
---- variables.c.orig Sun Jul 4 13:57:26 2004
-+++ variables.c Wed Aug 4 15:28:04 2004
-@@ -1599,7 +1599,10 @@
- /* local foo; local foo; is a no-op. */
- old_var = find_variable (name);
- if (old_var && local_p (old_var) && old_var->context == variable_context)
-- return (old_var);
-+ {
-+ VUNSETATTR (old_var, att_invisible);
-+ return (old_var);
-+ }
-
- was_tmpvar = old_var && tempvar_p (old_var);
- if (was_tmpvar)