cvs commit: src/lib/libc/gen posix_spawn.c

[ Available lists | Index of cvs-src-old | Month of May 2011 | Week of 30 May 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Jilles Tjoelker <jilles@FreeBSD.org>
Date
30 May 2011 21:41:25
Subject
cvs commit: src/lib/libc/gen posix_spawn.c
Message-ID
201105302141.p4ULfP1F060546@repoman.freebsd.org


[ Hide this part ]
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


Elapsed time: 0.061 seconds