Module Name: src Committed By: christos Date: Tue Jan 12 14:43:32 UTC 2010
Modified Files: src/usr.bin/mail: popen.c Log Message: - 1 -> EXIT_FAILURE - preallocate child struct, since the signal handler can be called before wait_child, and we cannot allocate a child struct there. there is a signal race still here if the program exits and the signal handler is called before we allocate the struct. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/mail/popen.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.