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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55390
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) {