mirror of https://git.musl-libc.org/git/musl
Browse Source
A child process created by posix_spawn reports errors to its parent via a pipe, retrying infinitely on any write error to prevent falsely reporting success. If the (original) parent dies before write is attempted, there is nobody to report to, but the child will remain stuck in the write loop forever if SIGPIPE is blocked or ignored. Fix this by not retrying write if it fails with EPIPE.master
committed by
Rich Felker
1 changed files with 6 additions and 1 deletions
Loading…
Reference in new issue