diff options
Diffstat (limited to 'shells/tcsh/patches/patch-af')
-rw-r--r-- | shells/tcsh/patches/patch-af | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/shells/tcsh/patches/patch-af b/shells/tcsh/patches/patch-af index 0dc6d7fc565..5727a78c7b8 100644 --- a/shells/tcsh/patches/patch-af +++ b/shells/tcsh/patches/patch-af @@ -1,17 +1,17 @@ -$NetBSD: patch-af,v 1.7 1998/09/13 19:12:05 kim Exp $ +$NetBSD: patch-af,v 1.8 2002/04/11 15:26:20 abs Exp $ ---- config_f.h.orig Fri Apr 26 21:17:30 1996 -+++ config_f.h Wed Sep 9 00:18:23 1998 -@@ -65,7 +65,11 @@ - * if you don't have <nl_types.h>, you don't want - * to define this. - */ --#undef NLS_CATALOGS -+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) -+# define NLS_CATALOGS -+#else -+# undef NLS_CATALOGS -+#endif - - /* - * LOGINFIRST Source ~/.login before ~/.cshrc +--- sh.dol.c.orig Wed Jul 25 16:48:04 2001 ++++ sh.dol.c +@@ -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; |