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/Makefile | 4 ++-- shells/tcsh/distinfo | 3 ++- shells/tcsh/patches/patch-ac | 12 ++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 shells/tcsh/patches/patch-ac diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile index eca5382ede1..24f376a8e56 100644 --- a/shells/tcsh/Makefile +++ b/shells/tcsh/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.63 2008/03/11 11:57:46 obache Exp $ +# $NetBSD: Makefile,v 1.64 2008/06/23 21:09:43 markd Exp $ # DISTNAME= tcsh-6.15.00 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= shells MASTER_SITES= ftp://ftp.astron.com/pub/tcsh/ \ ftp://ftp.gw.com/pub/unix/tcsh/ \ diff --git a/shells/tcsh/distinfo b/shells/tcsh/distinfo index 2682cca38a6..b68853d3f43 100644 --- a/shells/tcsh/distinfo +++ b/shells/tcsh/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.22 2007/04/11 06:12:10 wiz Exp $ +$NetBSD: distinfo,v 1.23 2008/06/23 21:09:43 markd Exp $ SHA1 (tcsh-6.15.00.tar.gz) = d24f7bf27e80222a6293b6629c14db547f0b7387 RMD160 (tcsh-6.15.00.tar.gz) = 8065279e93bd3fddb2a95a3f74a680858d36508c Size (tcsh-6.15.00.tar.gz) = 870886 bytes SHA1 (patch-aa) = 5ba012bfa662b57be300f5e81a8fcce44b218e72 SHA1 (patch-ab) = ab71a3826bbcef0702a7d43446f13454176aa671 +SHA1 (patch-ac) = f933d4e162b2d8a5e79d425118677cec32c624c5 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