diff options
author | pommicket <pommicket@gmail.com> | 2023-02-25 22:51:09 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-02-25 22:51:27 -0500 |
commit | 946eb60553a459e952096a93f805b1bb62ac11ae (patch) | |
tree | 5600cc9aee382dccd49eef8430e1522811aa2f67 /main.c | |
parent | 1dbe868e22fe9762d5e32d73167d09a2c5b72821 (diff) |
ignore SIGPIPE
fix problem where LSP crashing would cause ted to crash
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -299,7 +299,7 @@ int main(int argc, char **argv) { sigaction(SIGFPE, &act, NULL); sigaction(SIGABRT, &act, NULL); sigaction(SIGILL, &act, NULL); - sigaction(SIGPIPE, &act, NULL); + signal(SIGPIPE, SIG_IGN); } #elif _WIN32 SetUnhandledExceptionFilter(error_signal_handler); |