diff options
author | phk <phk@FreeBSD.org> | 2010-03-15 08:58:35 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2010-03-15 08:58:35 +0000 |
commit | b9030b276ea27caac8dad252c6131694ffec5b08 (patch) | |
tree | f3121dfb533ca0a6498e1b6fa98a1a578e215277 /lib/libc | |
parent | dab875b1fd1f9e4fc9f6c7d4d66be9b337d07232 (diff) | |
download | FreeBSD-src-b9030b276ea27caac8dad252c6131694ffec5b08.zip FreeBSD-src-b9030b276ea27caac8dad252c6131694ffec5b08.tar.gz |
Comment a fine point, so it does not get lost when people borrow code
from FreeBSD for other purposes.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/daemon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/gen/daemon.c b/lib/libc/gen/daemon.c index ba2a542..b359a87 100644 --- a/lib/libc/gen/daemon.c +++ b/lib/libc/gen/daemon.c @@ -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); } |