svn commit: r205165 - head/lib/libc/gen
Poul-Henning Kamp
phk at FreeBSD.org
Mon Mar 15 08:58:35 UTC 2010
Author: phk
Date: Mon Mar 15 08:58:35 2010
New Revision: 205165
URL: http://svn.freebsd.org/changeset/base/205165
Log:
Comment a fine point, so it does not get lost when people borrow code
from FreeBSD for other purposes.
Modified:
head/lib/libc/gen/daemon.c
Modified: head/lib/libc/gen/daemon.c
==============================================================================
--- head/lib/libc/gen/daemon.c Mon Mar 15 00:29:15 2010 (r205164)
+++ head/lib/libc/gen/daemon.c Mon Mar 15 08:58:35 2010 (r205165)
@@ -64,6 +64,10 @@ daemon(nochdir, noclose)
case 0:
break;
default:
+ /*
+ * A fine point: _exit(0), not exit(0), to avoid triggering
+ * atexit(3) processing
+ */
_exit(0);
}
More information about the svn-src-head
mailing list