This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with fork/exec/setsid/fgets (was: cygwin_attach_handle_to_fd())


On Tue, Jun 05, 2001 at 09:51:08AM -0600, Craig Nelson wrote:
>I reduced my code to the smallest program possible with the same
>functionality.  here is the test case: A program which uses fork(),
>exec(), AND fgets() and setsid(), will hang after two children have
>been produced.

Thanks for the test case.  There were indeed a problems with
fork/exec/setsid/kill.  I've checked in a patch which, I hope,
will rectify all of them.  I've started a snapshot, so this new
version should be available today.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]