pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/tcsh patch from christos to stop tcsh seg fault...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13ee0e06e8cc
branches:  trunk
changeset: 543883:13ee0e06e8cc
user:      markd <markd%pkgsrc.org@localhost>
date:      Mon Jun 23 21:09:43 2008 +0000

description:
patch from christos to stop tcsh seg faulting when given the line
  /bin/echo "`"
or similar.

diffstat:

 shells/tcsh/Makefile         |   4 ++--
 shells/tcsh/distinfo         |   3 ++-
 shells/tcsh/patches/patch-ac |  12 ++++++++++++
 3 files changed, 16 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 527c1b55bb37 -r 13ee0e06e8cc shells/tcsh/Makefile
--- a/shells/tcsh/Makefile      Mon Jun 23 21:07:29 2008 +0000
+++ b/shells/tcsh/Makefile      Mon Jun 23 21:09:43 2008 +0000
@@ -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 -r 527c1b55bb37 -r 13ee0e06e8cc shells/tcsh/distinfo
--- a/shells/tcsh/distinfo      Mon Jun 23 21:07:29 2008 +0000
+++ b/shells/tcsh/distinfo      Mon Jun 23 21:09:43 2008 +0000
@@ -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 -r 527c1b55bb37 -r 13ee0e06e8cc shells/tcsh/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/tcsh/patches/patch-ac      Mon Jun 23 21:09:43 2008 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index