]> git.ipfire.org Git - thirdparty/make.git/commit
(child_execute_job): Close STDIN_FD and STDOUT_FD after dup'ing from them.
authorRoland McGrath <roland@redhat.com>
Tue, 1 Aug 1995 18:46:37 +0000 (18:46 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 1 Aug 1995 18:46:37 +0000 (18:46 +0000)
commit2c27d8dbdc8652bcbef4850460b480f04e76e0d8
tree3ea5e034309ccbe1311933fe81c649ab11076d41
parentd02b26a4b8373db81598db9ebe6c2e82cbd6e1ba
(child_execute_job): Close STDIN_FD and STDOUT_FD after dup'ing from them.
Don't try to close all excess descriptors; getdtablesize might return
a huge value.  Any open descriptors in the parent should have FD_CLOEXEC
set.
job.c