Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2011 21:41:06 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libc/gen posix_spawn.c
Message-ID:  <201105302141.p4ULfP1F060546@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



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