diff options
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 4376a8322..479bc4a24 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -413,18 +413,6 @@ const char * * strings2CharPtrs(const Strings & ss) } -/* Restore default handling of SIGPIPE, otherwise some programs will - randomly say "Broken pipe". */ -static void restoreSIGPIPE() -{ - struct sigaction act, oact; - act.sa_handler = SIG_DFL; - act.sa_flags = 0; - sigemptyset(&act.sa_mask); - if (sigaction(SIGPIPE, &act, &oact)) throw SysError("resetting SIGPIPE"); -} - - ////////////////////////////////////////////////////////////////////// |