On Thu, Jun 9, 2011 at 11:01 AM, Jim Meyering <j...@meyering.net> wrote: > Bruno Haible wrote:
>> Apparently, although fd 2 was closed in the parent process, it is open again >> in the child process. This must happen in the exec* calls, since posix_spawn > > This is a security (mis)feature of HP-UX. > I noticed it with closeout-related tests a few years ago. I believe this anticipates an upcoming POSIX change: http://austingroupbugs.net/view.php?id=173 James.