summaryrefslogtreecommitdiff
path: root/shells/tcsh/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2008-06-23 21:09:43 +0000
committermarkd <markd@pkgsrc.org>2008-06-23 21:09:43 +0000
commit7b5b8c8bc56b2f899e1dade99dcad32ec7c6cb83 (patch)
tree0f0e7d5b7a2b43d6319d6bb8170978611fe51323 /shells/tcsh/patches
parentdab2a5299752fb0e3475f289cd10b2dd702bbc90 (diff)
downloadpkgsrc-7b5b8c8bc56b2f899e1dade99dcad32ec7c6cb83.tar.gz
patch from christos to stop tcsh seg faulting when given the line
/bin/echo "`" or similar.
Diffstat (limited to 'shells/tcsh/patches')
-rw-r--r--shells/tcsh/patches/patch-ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/shells/tcsh/patches/patch-ac b/shells/tcsh/patches/patch-ac
new file mode 100644
index 00000000000..d84259ff4c0
--- /dev/null
+++ b/shells/tcsh/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.11 2008/06/23 21:09:43 markd Exp $
+
+--- sh.glob.c.orig 2006-10-15 06:57:21.000000000 +1300
++++ sh.glob.c
+@@ -667,6 +667,7 @@ dobackp(Char *cp, int literal)
+ }
+ if (!*rp) {
+ oops:
++ cleanup_until(&bb);
+ stderror(ERR_UNMATCHED, '`');
+ }
+ ep = Strnsave(lp, rp - lp);