summaryrefslogtreecommitdiff
path: root/shells/tcsh
diff options
context:
space:
mode:
authorminoura <minoura>2002-01-31 15:02:22 +0000
committerminoura <minoura>2002-01-31 15:02:22 +0000
commit2646b6e0593075262427d17a79e27389fc668403 (patch)
tree903130a9c585d78978e481b1cf76095a5e8c5ce6 /shells/tcsh
parent5b2b59b3e10082fc4379973adbc7aaba71667be1 (diff)
downloadpkgsrc-2646b6e0593075262427d17a79e27389fc668403.tar.gz
Changes from basesrc/bin/csh/dol.c:1.18-1.19.
> Fix problem where > % echo $20000000000 > Segmentation fault (core dumped) I believe the problem is already known to the maintainer of tcsh (=christos).
Diffstat (limited to 'shells/tcsh')
-rw-r--r--shells/tcsh/distinfo3
-rw-r--r--shells/tcsh/patches/patch-ak17
2 files changed, 19 insertions, 1 deletions
diff --git a/shells/tcsh/distinfo b/shells/tcsh/distinfo
index 8a149c9925d..884b508d41f 100644
--- a/shells/tcsh/distinfo
+++ b/shells/tcsh/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2001/12/17 19:26:24 tron Exp $
+$NetBSD: distinfo,v 1.7 2002/01/31 15:02:22 minoura Exp $
SHA1 (tcsh-6.11.tar.gz) = bfc2ccd2d9e04975308cdf0a50b7383e580594b6
Size (tcsh-6.11.tar.gz) = 716863 bytes
@@ -7,3 +7,4 @@ SHA1 (patch-ac) = 5e7424ad50ddcd7e75c04d3c64c2136cc360bbdf
SHA1 (patch-af) = 8db810383f043e65858b5925988cac5fd193c948
SHA1 (patch-ag) = e71ea3d9dd4ea70040ab18702260d3c8890b9da9
SHA1 (patch-aj) = e06125ea332549c4f72b08b72e4f9aae8778209a
+SHA1 (patch-ak) = fddc3b0d20f7012b8486a845c3e4a9ad5bf7b7ff
diff --git a/shells/tcsh/patches/patch-ak b/shells/tcsh/patches/patch-ak
new file mode 100644
index 00000000000..decec9a87ea
--- /dev/null
+++ b/shells/tcsh/patches/patch-ak
@@ -0,0 +1,17 @@
+$NetBSD: patch-ak,v 1.1 2002/01/31 15:02:23 minoura Exp $
+
+--- sh.dol.c.orig Thu Jul 26 00:48:04 2001
++++ sh.dol.c Thu Jan 31 16:09:37 2002
+@@ -585,10 +585,8 @@
+ c = DgetC(0);
+ } while (Isdigit(c));
+ unDredc(c);
+- if (subscr < 0) {
+- dolerror(vp->v_name);
+- return;
+- }
++ if (subscr < 0)
++ stderror(ERR_RANGE);
+ if (subscr == 0) {
+ if (bitset) {
+ dolp = dolzero ? STR1 : STR0;