Source-Changes-HG archive

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

[src/netbsd-1-4]: src/usr.bin/make Pull up revision 1.29 (requested by mycroft):



details:   https://anonhg.NetBSD.org/src/rev/4585796c8393
branches:  netbsd-1-4
changeset: 470155:4585796c8393
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 23 12:02:18 2000 +0000

description:
Pull up revision 1.29 (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:

 usr.bin/make/compat.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 28078c76ec4a -r 4585796c8393 usr.bin/make/compat.c
--- a/usr.bin/make/compat.c     Sun Jan 23 12:02:07 2000 +0000
+++ b/usr.bin/make/compat.c     Sun Jan 23 12:02:18 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat.c,v 1.27 1999/03/24 13:19:26 sommerfe Exp $     */
+/*     $NetBSD: compat.c,v 1.27.2.1 2000/01/23 12:02:18 he Exp $       */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -39,14 +39,14 @@
  */
 
 #ifdef MAKE_BOOTSTRAP
-static char rcsid[] = "$NetBSD: compat.c,v 1.27 1999/03/24 13:19:26 sommerfe Exp $";
+static char rcsid[] = "$NetBSD: compat.c,v 1.27.2.1 2000/01/23 12:02:18 he Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)compat.c   8.2 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: compat.c,v 1.27 1999/03/24 13:19:26 sommerfe Exp $");
+__RCSID("$NetBSD: compat.c,v 1.27.2.1 2000/01/23 12:02:18 he Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -75,7 +75,6 @@
 #include    "hash.h"
 #include    "dir.h"
 #include    "job.h"
-extern int errno;
 
 /*
  * The following array is used to make a fast determination of which



Home | Main Index | Thread Index | Old Index