fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

tednolan@bellsouth.net tednolan@bellsouth.net
Fri Jan 17 21:02:00 GMT 2014


In message <52D98E1D.8010907@redhat.com>you write:
>
>No.  You have to fix things _in the parent, before the fork()_ for
>everything to be hunky-dory.  The easiest way to do that is to
>fflush(NULL) before fork()ing.
>

You learn something new every day.

Usually just after you needed to know it.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list