Ignore SIGPIPE by default.

Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
PR:		13900
This commit is contained in:
Jordan K. Hubbard 2000-01-04 04:31:29 +00:00
parent 9b3da24ed0
commit 09767b7ec4
3 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,7 @@ main(int argc, char **argv)
signal(SIGBUS, screech);
signal(SIGSEGV, screech);
}
signal(SIGPIPE, SIG_IGN);
/* We don't work too well when running as non-root anymore */
if (geteuid() != 0) {

View File

@ -56,6 +56,7 @@ main(int argc, char **argv)
signal(SIGBUS, screech);
signal(SIGSEGV, screech);
}
signal(SIGPIPE, SIG_IGN);
/* We don't work too well when running as non-root anymore */
if (geteuid() != 0) {

View File

@ -56,6 +56,7 @@ main(int argc, char **argv)
signal(SIGBUS, screech);
signal(SIGSEGV, screech);
}
signal(SIGPIPE, SIG_IGN);
/* We don't work too well when running as non-root anymore */
if (geteuid() != 0) {