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);
        }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to