summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-05-17 03:40:05 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-05-17 03:40:05 +0000
commitb467ddb124bff761586b4411677208c745089c9f (patch)
treeaa891a89e3ccb665acac5022c8a5b3f0a2b68901
parentca60a9bf661830019d49c4de5ae71ff96a1ed9e5 (diff)
- (bal) Corrected on_exit() emulation via atexit().
-rw-r--r--ChangeLog3
-rw-r--r--defines.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7024ba89..4ff66439 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,7 @@
[channels.c nchan.c]
more select() error fixes (don't set rfd/wfd to -1).
- (bal) Enabled USE_PIPES for Cygwin on Corinna Vinschen <vinschen@redhat.com>
+ - (bal) Corrected on_exit() emulation via atexit().
20010512
- OpenBSD CVS Sync
@@ -5422,4 +5423,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.1224 2001/05/17 03:32:50 mouring Exp $
+$Id: ChangeLog,v 1.1225 2001/05/17 03:40:05 mouring Exp $
diff --git a/defines.h b/defines.h
index 347aad5a..42a661a3 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
-/* $Id: defines.h,v 1.64 2001/05/12 00:08:38 mouring Exp $ */
+/* $Id: defines.h,v 1.65 2001/05/17 03:40:05 mouring Exp $ */
/* Some platforms need this for the _r() functions */
#if !defined(_REENTRANT) && !defined(SNI)
@@ -418,7 +418,7 @@ struct winsize {
#endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */
#if !defined(HAVE_ATEXIT) && defined(HAVE_ON_EXIT)
-# define atexit(a) on_exit(a, NULL)
+# define atexit(a, NULL) on_exit(a, NULL)
#else
# if defined(HAVE_XATEXIT)
# define atexit(a) xatexit(a)