mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
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:
@@ -225,7 +225,6 @@ namespace document
|
||||
{
|
||||
oak::set_thread_name("document::watch_server_t");
|
||||
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
event_queue = kqueue();
|
||||
|
||||
struct kevent changeList;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user