Source-Changes-HG archive

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

[src/netbsd-1-4]: src/bin/ksh Pull up revision 1.4 (requested by mycroft):



details:   https://anonhg.NetBSD.org/src/rev/00aff8863617
branches:  netbsd-1-4
changeset: 470146:00aff8863617
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 23 12:00:48 2000 +0000

description:
Pull up revision 1.4 (requested by mycroft):
  Always do the errno indirection hack, so that non-threaded
  libraries get the right errno value when linked with -lpthread.
  This means "always include <errno.h> and never declare errno
  yourself".

diffstat:

 bin/ksh/sh.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r f4d61e33855e -r 00aff8863617 bin/ksh/sh.h
--- a/bin/ksh/sh.h      Sun Jan 23 11:17:24 2000 +0000
+++ b/bin/ksh/sh.h      Sun Jan 23 12:00:48 2000 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: sh.h,v 1.2 1997/01/12 19:12:12 tls Exp $       */
+/*     $NetBSD: sh.h,v 1.2.4.1 2000/01/23 12:00:48 he Exp $    */
 
 /*
  * Public Domain Bourne/Korn shell
  */
 
-/* $NetBSD: sh.h,v 1.2 1997/01/12 19:12:12 tls Exp $ */
+/* $NetBSD: sh.h,v 1.2.4.1 2000/01/23 12:00:48 he Exp $ */
 
 #include "config.h"    /* system and option configuration info */
 
@@ -117,7 +117,6 @@
 #endif /* HAVE_PROTOTYPES */
 
 #include <errno.h>
-extern int errno;
 
 #ifdef HAVE_FCNTL_H
 # include <fcntl.h>



Home | Main Index | Thread Index | Old Index