diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-02-29 19:40:18 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-02-29 19:40:18 -0500 |
commit | 40dc3e0d3bee6ff70fb68d9ba7f0a2ee9da96f68 (patch) | |
tree | 6c22669602db29f80b5743b602b22f32e521f7a5 /indra/llcommon/llstreamqueue.cpp | |
parent | 3649eda62ad3a04203e6c562e78815a95896bbd4 (diff) |
When constructing a pipe to child stdin on Posix, ignore SIGPIPE.
We can't count on every child process reading everything we try to write to
it. And if the child terminates with WritePipe data still pending, unless we
explicitly suppress it, Posix will hit us with SIGPIPE. That would terminate
the calling process, boom. "Ignoring" it means APR gets the correct errno,
passes it back to us, we log it, etc.
Diffstat (limited to 'indra/llcommon/llstreamqueue.cpp')
0 files changed, 0 insertions, 0 deletions