Date: Sun, 10 Jul 2011 14:20:11 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/gen posix_spawn.c src/tools/regression/lib/libc/gen Makefile test-posix_spawn.c Message-ID: <201107101421.p6AELAZG048255@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2011-07-10 14:20:11 UTC
FreeBSD src repository
Modified files:
lib/libc/gen posix_spawn.c
tools/regression/lib/libc/gen Makefile
Added files:
tools/regression/lib/libc/gen test-posix_spawn.c
Log:
SVN rev 223907 on 2011-07-10 14:20:11Z by jilles
posix_spawn: If an error is detected in the child process, reap the zombie.
Formerly, in this case an error was returned but the pid was also returned
to the application, requiring the application to use unspecified behaviour
(the returned pid in error situations) to avoid zombies.
Now, reap the zombie and do not return the pid.
MFC after: 2 weeks
Revision Changes Path
1.9 +4 -1 src/lib/libc/gen/posix_spawn.c
1.6 +1 -1 src/tools/regression/lib/libc/gen/Makefile
1.1 +90 -0 src/tools/regression/lib/libc/gen/test-posix_spawn.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107101421.p6AELAZG048255>
