Source-Changes-HG archive

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

[src/netbsd-1-5]: src/bin/ksh Pull up revision 1.5 (requested by dogcow):



details:   https://anonhg.NetBSD.org/src/rev/ba415e892b08
branches:  netbsd-1-5
changeset: 492865:ba415e892b08
user:      he <he%NetBSD.org@localhost>
date:      Tue Feb 26 19:50:55 2002 +0000

description:
Pull up revision 1.5 (requested by dogcow):
  Synchronize with current development version:
   o fix problem with ``set -x'' causing a core dump; fixes PR#11361
   o fix problem with ``set -e'' causing early exit; fixes PR#11542
   o fix various misspellings and nested extern declarations

diffstat:

 bin/ksh/config.h |  5 ++++-
 bin/ksh/misc.c   |  3 +--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 1c9f4bd49cfd -r ba415e892b08 bin/ksh/config.h
--- a/bin/ksh/config.h  Tue Feb 26 19:50:52 2002 +0000
+++ b/bin/ksh/config.h  Tue Feb 26 19:50:55 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: config.h,v 1.4 1997/01/12 19:11:44 tls Exp $   */
+/*     $NetBSD: config.h,v 1.4.12.1 2002/02/26 19:50:55 he Exp $       */
 
 /* config.h.  Generated automatically by configure.  */
 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
@@ -41,6 +41,9 @@
 /* Define if you have <unistd.h>.  */
 #define HAVE_UNISTD_H 1
 
+/* Define if you have dup2.  */
+#define HAVE_DUP2 1
+
 /* Define if on MINIX.  */
 /* #undef _MINIX */
 
diff -r 1c9f4bd49cfd -r ba415e892b08 bin/ksh/misc.c
--- a/bin/ksh/misc.c    Tue Feb 26 19:50:52 2002 +0000
+++ b/bin/ksh/misc.c    Tue Feb 26 19:50:55 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: misc.c,v 1.4 1999/10/20 15:09:59 hubertf Exp $ */
+/*     $NetBSD: misc.c,v 1.4.6.1 2002/02/26 19:50:56 he Exp $  */
 
 /*
  * Miscellaneous functions
@@ -1312,7 +1312,6 @@
 
        return ret;
 #else /* HAVE_GETCWD */
-       extern char *getwd ARGS((char *));
        char *b;
        int len;
 



Home | Main Index | Thread Index | Old Index