summaryrefslogtreecommitdiffstats
path: root/signal.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-03-11 22:25:15 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-03-11 22:25:15 -0700
commit5382f4a6aa4a38c5f2f229f79bee55dfcb3843fc (patch)
tree7ae07decfd27a60929b2168bcd42382a84101ef1 /signal.c
parentd5915cf610b71691a95f5af3fe09848adb3f0d3d (diff)
downloadtxr-5382f4a6aa4a38c5f2f229f79bee55dfcb3843fc.tar.gz
txr-5382f4a6aa4a38c5f2f229f79bee55dfcb3843fc.tar.bz2
txr-5382f4a6aa4a38c5f2f229f79bee55dfcb3843fc.zip
* configure: new test for fcntl.
* stream.c (open_process): Fixed off-by one erroneous value of nargs, causing memory leak of one string. Fixed memory leak on fork failure. Fixed a deadlock that can occur in the pipe close function when multiple pipes are in existence. This is fixed by setting the FD_CLOEXEC flag on the pipe file descriptor. Without this, one child process can hold another's pipe open, causing that other one not to terminate when we're trying to shut it down, resulting in that child blocked on a write, while we block on waitpid.
Diffstat (limited to 'signal.c')
0 files changed, 0 insertions, 0 deletions