diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-11-22 16:29:31 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-11-22 16:29:31 -0500 |
commit | aeea71dc042d8d0a05f4293a0e98c9cd009ffc16 (patch) | |
tree | 4f281963809413f618a9edfa5dfdff813c16031e /src/string | |
parent | fix fd leak and case where fd 1 is already closed in wordexp (diff) | |
download | grovel-aeea71dc042d8d0a05f4293a0e98c9cd009ffc16.tar.gz grovel-aeea71dc042d8d0a05f4293a0e98c9cd009ffc16.tar.xz |
fix and refactor child reaping logic in wordexp
loop condition was incorrect and confusing and caused an infinite loop
when (broken) applications reaped the pid from a signal handler or
another thread before wordexp's call to waitpid could do so.
Diffstat (limited to 'src/string')
0 files changed, 0 insertions, 0 deletions