summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-13 23:29:58 +0000
committertron <tron@openttd.org>2005-02-13 23:29:58 +0000
commit8fea0f0a8f511be1feec53c626f8ae1ab5bc20d5 (patch)
treecff6a96e25d351d84bb5a4f43834c291879b81f2
parentd449145799787df3ba92f731f98e28aeb9d6a156 (diff)
downloadopenttd-8fea0f0a8f511be1feec53c626f8ae1ab5bc20d5.tar.xz
(svn r1873) Ignore SIGPIPE
-rw-r--r--sdl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdl.c b/sdl.c
index ba88af96d..515a97e59 100644
--- a/sdl.c
+++ b/sdl.c
@@ -158,6 +158,8 @@ static const char *SdlOpen(uint32 x)
signal(SIGABRT, SdlAbort);
signal(SIGSEGV, SdlAbort);
signal(SIGFPE, SdlAbort);
+
+ signal(SIGPIPE, SIG_IGN);
#endif
return NULL;