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.32 (requested by mycroft):
details: https://anonhg.NetBSD.org/src/rev/b2c9c550c177
branches: netbsd-1-4
changeset: 470156:b2c9c550c177
user: he <he%NetBSD.org@localhost>
date: Sun Jan 23 12:02:26 2000 +0000
description:
Pull up revision 1.32 (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/job.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (43 lines):
diff -r 4585796c8393 -r b2c9c550c177 usr.bin/make/job.c
--- a/usr.bin/make/job.c Sun Jan 23 12:02:18 2000 +0000
+++ b/usr.bin/make/job.c Sun Jan 23 12:02:26 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: job.c,v 1.25 1999/02/04 00:40:55 cjs Exp $ */
+/* $NetBSD: job.c,v 1.25.2.1 2000/01/23 12:02:26 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: job.c,v 1.25 1999/02/04 00:40:55 cjs Exp $";
+static char rcsid[] = "$NetBSD: job.c,v 1.25.2.1 2000/01/23 12:02:26 he Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: job.c,v 1.25 1999/02/04 00:40:55 cjs Exp $");
+__RCSID("$NetBSD: job.c,v 1.25.2.1 2000/01/23 12:02:26 he Exp $");
#endif
#endif /* not lint */
#endif
@@ -132,8 +132,6 @@
# define STATIC static
#endif
-extern int errno;
-
/*
* error handling variables
*/
@@ -1595,7 +1593,6 @@
* resume it.
*/
Boolean error;
- extern int errno;
int status;
#ifdef RMT_WANTS_SIGNALS
Home |
Main Index |
Thread Index |
Old Index