jilles 2011-05-30 21:41:06 UTC
FreeBSD src repository
Modified files:
lib/libc/gen posix_spawn.c
Log:
SVN rev 222511 on 2011-05-30 21:41:06Z by jilles
posix_spawn(): Do not fail when trying to close an fd that is not open.
As noted in Austin Group issue #370 (an interpretation has been issued),
failing posix_spawn() because an fd specified with
posix_spawn_file_actions_addclose() is not open is unnecessarily harsh, and
there are existing implementations that do not fail posix_spawn() for this
reason.
Reviewed by: ed
MFC after: 10 days
Revision Changes Path
1.7 +2 -5 src/lib/libc/gen/posix_spawn.c