Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2007 16:50:23 GMT
From:      Alan Ferrency <alan@pair.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/108390: wait4() erroneously waits for all children when SIGCHLD is SIG_IGN
Message-ID:  <200702011650.l11GoNWa008083@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/108390; it has been noted by GNATS.

From: Alan Ferrency <alan@pair.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/108390: wait4() erroneously waits for all children when
 SIGCHLD is SIG_IGN
Date: Thu, 1 Feb 2007 11:42:17 -0500 (EST)

 I apologize:  This should read "ECHILD", errno 10.
 
 
 > I modified my test script to output the return value and errno of the
 > failing wait4() call, and it verifies that when waiting too long for the
 > short-running process, wait4() is returning with ENOCHLD (no child
 > processes) and not because it received notification of a child process
 > exiting.
 
 Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702011650.l11GoNWa008083>