about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-26 14:34:52 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-28 11:21:48 -0700
commit68c2706780031e3aac6cccea0f7b867ad5eff13a (patch)
treea125fe5ae4eaa62a69a237ce464dbdbc022dae91 /src/rustllvm/ExecutionEngineWrapper.cpp
parentb8601a3d8b91ad3b653d143307611f2f5c75617e (diff)
downloadrust-68c2706780031e3aac6cccea0f7b867ad5eff13a.tar.gz
rust-68c2706780031e3aac6cccea0f7b867ad5eff13a.zip
native: Ignore SIGPIPE by default
Some unix platforms will send a SIGPIPE signal instead of returning EPIPE from a
syscall by default. The native runtime doesn't install a SIGPIPE handler,
causing the program to die immediately in this case. This brings the behavior in
line with libgreen by ignoring SIGPIPE and propagating EPIPE upwards to the
application in the form of an IoError.

Closes #13123
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions