]> Savannah Git Hosting - gnulib.git/commit
spawn-pipe: Fix possible hangs in programs that spawn several children.
authorBruno Haible <bruno@clisp.org>
Fri, 9 Sep 2022 13:14:45 +0000 (15:14 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 9 Sep 2022 13:14:45 +0000 (15:14 +0200)
commitdb6cb9d5c165ab5b4003abcabf6ea992dfc02440
tree52ee8a8202efa7fd2155e39f6e5a4bb39fac1e89
parent128344d54491dd97096c369cd4bcf4e222160a2e
spawn-pipe: Fix possible hangs in programs that spawn several children.

* lib/spawn-pipe.c (create_pipe) [Unix]: Create the ifd[] and ofd[] file
descriptors with the close-on-exec flag set.
ChangeLog
lib/spawn-pipe.c