Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib Kill _Exit; breaks build on cygwin and this ...
details: https://anonhg.NetBSD.org/src/rev/9ae3cf94148f
branches: trunk
changeset: 587333:9ae3cf94148f
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 20 22:02:07 2006 +0000
description:
Kill _Exit; breaks build on cygwin and this implementation "is not exactly
equivalent to calling _exit".
diffstat:
lib/libc/stdlib/Makefile.inc | 4 ++--
lib/libc/stdlib/_Exit.c | 26 --------------------------
2 files changed, 2 insertions(+), 28 deletions(-)
diffs (48 lines):
diff -r 2ede4c8ad3bc -r 9ae3cf94148f lib/libc/stdlib/Makefile.inc
--- a/lib/libc/stdlib/Makefile.inc Fri Jan 20 21:57:50 2006 +0000
+++ b/lib/libc/stdlib/Makefile.inc Fri Jan 20 22:02:07 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.61 2005/09/25 20:08:01 christos Exp $
+# $NetBSD: Makefile.inc,v 1.62 2006/01/20 22:02:07 christos Exp $
# from: @(#)Makefile.inc 8.3 (Berkeley) 2/4/95
# stdlib sources
@@ -6,7 +6,7 @@
SRCS+= _rand48.c _strtoimax.c _strtoumax.c _strtoll.c _strtoull.c \
a64l.c abort.c atexit.c atof.c atoi.c atol.c atoll.c \
- bsearch.c calloc.c drand48.c erand48.c exit.c _Exit.c \
+ bsearch.c calloc.c drand48.c erand48.c exit.c \
getenv.c getopt.c getopt_long.c getsubopt.c \
hcreate.c heapsort.c insque.c jrand48.c \
l64a.c lldiv.c lcong48.c lrand48.c lsearch.c \
diff -r 2ede4c8ad3bc -r 9ae3cf94148f lib/libc/stdlib/_Exit.c
--- a/lib/libc/stdlib/_Exit.c Fri Jan 20 21:57:50 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* $NetBSD: _Exit.c,v 1.2 2005/06/12 05:21:27 lukem Exp $ */
-
-/*
- * Ben Harris, 2002
- * This file is in the Public Domain
- */
-
-#include <sys/cdefs.h>
-#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: _Exit.c,v 1.2 2005/06/12 05:21:27 lukem Exp $");
-#endif /* LIBC_SCCS and not lint */
-
-#include <stdlib.h>
-#include <unistd.h>
-
-/*
- * IEEE 1003.1-2001 says:
- * The _Exit() and _exit() functions shall be functionally equivalent.
- */
-
-void
-_Exit(int status)
-{
-
- _exit(status);
-}
Home |
Main Index |
Thread Index |
Old Index