Don’t change signal mask in library code

This belongs in main(), where it is already being set.

It might however be necessary to set it when running tests, although none of the tests seems to fail w/o this.
This commit is contained in:
Allan Odgaard
2013-03-21 14:24:51 +01:00
parent fbec3539c6
commit ba2130f0c8
2 changed files with 0 additions and 3 deletions

View File

@@ -225,7 +225,6 @@ namespace document
{
oak::set_thread_name("document::watch_server_t");
signal(SIGPIPE, SIG_IGN);
event_queue = kqueue();
struct kevent changeList;

View File

@@ -13,8 +13,6 @@ namespace network
{
if(io::process_t process = io::spawn(std::vector<std::string>{ "/usr/bin/tar", "-jxmkC", dest.c_str(), "--strip-components", "1" }))
{
signal(SIGPIPE, SIG_IGN);
input = process.in;
output = process.out;