summaryrefslogtreecommitdiff
path: root/shells/tcsh/patches/patch-ac
blob: d84259ff4c064692df14984ffc8d44e126730d2e (plain)
1
2
3
4
5
6
7
8
9
10
11
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);