summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2017-01-02 14:08:54 -0500
committerPaul Smith <psmith@gnu.org>2017-06-04 18:37:20 -0400
commit2b8e3bb23f96c2458818f011593557d3353dade3 (patch)
treee9002df0128bbc267d6bb532f4d09979a8e84f0b /po
parentc4f30e6012c426e79447ee2829f80464ab10af32 (diff)
downloadmake-git-2b8e3bb23f96c2458818f011593557d3353dade3.tar.gz
Clean up close-on-exec, particularly with jobserver pipes.
* configure.ac: Check sys/file.h and assume fileno() always exists. * output.h: Move output-specific content from job.h to output.h. * os.h (fd_inherit, fd_noinherit): New functions manage FD inheritance. * posixos.c (fd_inherit, fd_noinherit): Implement for POSIX systems. (jobserver_setup): Force jobserver FDs to not be inherited by default. (jobserver_pre_child): Enable inheritance in recursive invocations. (jobserver_post_child): Disable inheritance after recursive invocations. * w32/w32os.c (fd_inherit, fd_noinherit): Implement for W32 systems. * job.h (CLOSE_ON_EXEC): Remove macro in deference to new fd_noinherit. * function.c (func_shell_base): Convert CLOSE_ON_EXEC to fd_noinherit. * job.c (child_execute_job): Ditto. * output.c (setup_tmpfile): Ditto. * read.c (eval_makefile): Ditto, plus remove HAVE_FILENO check. * w32/include/sub_proc.h: Remove process_noinherit for fd_noinherit. * w32/subproc/sub_proc.c: Ditto.
Diffstat (limited to 'po')
-rw-r--r--po/POTFILES.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 061ff2b9..78b8c851 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -27,11 +27,11 @@ guile.c
hash.c
implicit.c
job.c
-job.h
load.c
main.c
misc.c
output.c
+output.h
posixos.c
read.c
remake.c