kurt e436b9fc81 Fix daemon mode by correcting non-portable code:
- close(0); open(...); is no guaranteed to open on file descriptor 0.
  Change to using dup2()
- Threaded applications that fork() may only call async-signal-safe
  functions in the child process until such time as one of the exec
  functions are called. Enable the APPLE code path that uses execlp()
  in child. Also close child fd's in such a way as to not trip on
  non-blocking fd design issues of libpthread.

okay ajacoutot@
2009-05-14 12:38:52 +00:00
..
2008-10-10 13:45:02 +00:00
2009-02-11 15:37:16 +00:00
2007-10-26 21:49:00 +00:00
2009-03-17 19:32:44 +00:00
2009-03-12 18:13:54 +00:00
2009-04-22 12:23:00 +00:00
2009-04-10 11:59:06 +00:00
2009-03-12 18:13:54 +00:00
2009-03-25 13:39:40 +00:00
2009-01-16 07:52:50 +00:00
2007-09-03 09:20:54 +00:00
2007-10-01 11:42:30 +00:00
2009-03-12 18:13:54 +00:00
2009-03-16 22:20:02 +00:00
2007-09-15 23:36:43 +00:00
2009-04-09 17:19:22 +00:00
2009-04-22 12:14:15 +00:00
2009-03-25 13:52:31 +00:00
2009-04-10 12:31:00 +00:00
2009-04-10 11:59:06 +00:00
2009-04-23 00:18:17 +00:00
2009-04-10 11:59:06 +00:00
2009-03-17 18:38:22 +00:00