summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxythian <xythian>2002-09-02 06:51:31 (GMT)
committerxythian <xythian>2002-09-02 06:51:31 (GMT)
commit8a254649cffed87b95fe50ceef209c4dcfb4a5d5 (patch)
tree743c47f59f4fed46e276b6cac60756459c5bade6
parent12bb06668161cffe832e9db306edf90ff3b507d2 (diff)
downloadmoo-FLOATSUSPEND.zip
moo-FLOATSUSPEND.tar.gz
moo-FLOATSUSPEND.tar.bz2
moo-FLOATSUSPEND.tar.xz
Backed out irrelevant change (receive_but_ignore SIGPIPE)FLOATSUSPEND
-rw-r--r--net_multi.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/net_multi.c b/net_multi.c
index ab318b4..3dcc018 100644
--- a/net_multi.c
+++ b/net_multi.c
@@ -484,12 +484,6 @@ network_usage_string(void)
return proto_usage_string();
}
-void
-receive_but_ignore(int sig)
-{
- ;
-}
-
int
network_initialize(int argc, char **argv, Var * desc)
{
@@ -500,7 +494,7 @@ network_initialize(int argc, char **argv, Var * desc)
get_pocket_descriptors();
/* we don't care about SIGPIPE, we notice it in mplex_wait() and write() */
- signal(SIGPIPE, receive_but_ignore);
+ signal(SIGPIPE, SIG_IGN);
return 1;
}
@@ -732,6 +726,9 @@ char rcsid_net_multi[] = "$Id$";
/*
* $Log$
+ * Revision 1.3.4.2 2002/09/02 06:51:31 xythian
+ * Backed out irrelevant change (receive_but_ignore SIGPIPE)
+ *
* Revision 1.3.4.1 2002/08/29 03:01:54 xythian
* Merging Ben's sub-second suspend/fork. Network i/o timeouts are now in terms of microseconds. db_flush() call is no longer made.
*