From 7b5b8c8bc56b2f899e1dade99dcad32ec7c6cb83 Mon Sep 17 00:00:00 2001 From: markd Date: Mon, 23 Jun 2008 21:09:43 +0000 Subject: patch from christos to stop tcsh seg faulting when given the line /bin/echo "`" or similar. --- shells/tcsh/patches/patch-ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 shells/tcsh/patches/patch-ac (limited to 'shells/tcsh/patches') 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); -- cgit v1.2.3