source: trunk/dports/news/pan2/files/patch-pan-sockets.c @ 2207

Last change on this file since 2207 was 2207, checked in by mij, 18 years ago

Update to version 0.13.4.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 579 bytes
Line 
1--- pan/sockets.c.orig  Sun Mar  9 18:41:42 2003
2+++ pan/sockets.c       Sun Mar  9 18:42:07 2003
3@@ -25,7 +25,6 @@
4 
5 #include <errno.h>
6 #include <string.h>
7-#include <signal.h> /* for sigignore(SIGPIPE) on unix */
8 #include <unistd.h>
9 
10 #include <glib.h>
11@@ -91,11 +90,6 @@
12        g_return_val_if_fail (is_nonempty_string (server_name), NULL);
13        g_return_val_if_fail (is_nonempty_string (server_address), NULL);
14        g_return_val_if_fail (port>=0, NULL);
15-
16-       /* needed on Unix */
17-#      ifdef SIGPIPE
18-       sigignore (SIGPIPE);
19-#      endif
20 
21        /* create the socket */
22        sock = g_new0 (PanSocket, 1);   
Note: See TracBrowser for help on using the repository browser.