]> 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>
Sat, 10 Sep 2022 01:03:10 +0000 (03:03 +0200)
commit710b168cf4d56a253d598579789a76552af6283c
treecb393148b0b84d89e8b8c19e069c7116e6d70d34
parent6a91be2eb54be0d60d6bf068e348f47910f344e6
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