Avoid vfork-related deadlock more cleanly.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jul 2013 06:53:47 +0000 (23:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jul 2013 06:53:47 +0000 (23:53 -0700)
commitee01079735d08d5d9481b26d89f87257ac02efff
tree2c3d87556a649501e1ea9eea723364ad146ae7ba
parent02c66599e3b30ef2119d5307099f16e2b53018da
Avoid vfork-related deadlock more cleanly.

* callproc.c (child_setup): When the child's exec fails, output
the program name, as that's more useful.  Use O_NONBLOCK to avoid
deadlock.
* process.c (create_process_1): Remove; no longer needed.
(create_process): Remove timer hack; no longer needed, now that
the child avoids deadlock.
src/ChangeLog
src/callproc.c
src/process.c