This is the mail archive of the
mailing list for the Cygwin project.
Re: fork failure patch for cygrunsrv
On Jun 16 16:49, Hochstedler, Ben (GE Healthcare) wrote:
> fork() can fail when the system runs out of non-interactive heap space
> (because there's not enough heap memory to allocate to the launched
> process). See:
> The attached patch fixes two problems:
> 1. cygrunsrv doesn't exit when fork returns -1 (failed to
> spawn child process)
> 2. log message doesn't include the proper errno of the
> fork failure.
Thanks for the patch. I've uploaded a new cygrunsrv with this patch
applied. Just... next time, please include a ChangeLog entry.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html