aboutsummaryrefslogtreecommitdiff
path: root/libcpp/lex.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2019-05-19 22:38:11 +0300
committerJanne Blomqvist <jb@gcc.gnu.org>2019-05-19 22:38:11 +0300
commitef536b413e077a87b15a11e60ca4c2675d11dccb (patch)
treea13eae10848d4fb1f477e179eefb5f27f860344a /libcpp/lex.c
parentdbd5df2eb893bf5370fa3fdde6e09f21d4b26b79 (diff)
downloadgcc-ef536b413e077a87b15a11e60ca4c2675d11dccb.zip
gcc-ef536b413e077a87b15a11e60ca4c2675d11dccb.tar.gz
gcc-ef536b413e077a87b15a11e60ca4c2675d11dccb.tar.bz2
libfortran/90038 Reap dead children when wait=.false.
When using posix_spawn or fork to launch a child process, the parent needs to wait for the child, otherwise the dead child is left as a zombie process. For this purpose one can install a signal handler for SIGCHLD. 2019-05-19 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/90038 * intrinsics/execute_command_line (sigchld_handler): New function. (execute_command_line): Install handler for SIGCHLD. * configure.ac: Check for presence of sigaction and waitpid. * config.h.in: Regenerated. * configure: Regenerated. Regtested on x86_64-pc-linux-gnu. From-SVN: r271384
Diffstat (limited to 'libcpp/lex.c')
0 files changed, 0 insertions, 0 deletions