CVSROOT:        /cvs
Module name:    ports
Changes by:     k...@cvs.openbsd.org    2009/05/14 06:38:52

Modified files:
        print/cups     : Makefile 
Added files:
        print/cups/patches: patch-scheduler_main_c 
                            patch-scheduler_process_c 

Log message:
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@

Reply via email to