delorie.com/archives/browse.cgi | search |
On Tue, Aug 13, 2002 at 02:27:42PM -0400, Joe Buehler wrote: >Christopher Faylor wrote: > >>Btw, if someone (Joe?) can provide a simple test case demonstrating the >>problem I'll be happy to fix it. > >It's easy to demonstrate; try this: Thanks for the test case. I've checked in a fix but it is pretty ugly. I don't know of any other way to accomplish what is required for setsid other than to do a fork() when setsid is called in a "vfork" condition. So, that's what I did. I noticed a few other bugs with vfork and fixed them. I also implemented getsid(). I can't believe that it has been missing all of this time. Your test case seems happier (if slower) now. I'm rebuilding YA snapshot. cgf
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |