[evolution-patches] Soup SSL HUP Patch



Keeps soup from leaving defunct/zombie soup-ssl-proxy processes.

-JP
-- 
JP Rosevear <jpr ximian com>
Ximian, Inc.
? fd-leak.patch
? soup-waitpid.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/soup/ChangeLog,v
retrieving revision 1.229.2.40.2.59
diff -u -r1.229.2.40.2.59 ChangeLog
--- ChangeLog	18 Mar 2003 19:35:54 -0000	1.229.2.40.2.59
+++ ChangeLog	1 Apr 2003 18:47:29 -0000
@@ -1,3 +1,8 @@
+2003-04-01  JP Rosevear  <jpr ximian com>
+
+	* src/libsoup/soup-ssl.c (soup_ssl_hup_waitpid): make sure we
+	continue to waitpid if we get an EINTR error
+
 2003-03-17  JP Rosevear  <jpr ximian com>
 
 	* src/libsoup/soup-context.c (connection_free): close the
Index: src/libsoup/soup-ssl.c
===================================================================
RCS file: /cvs/gnome/soup/src/libsoup/soup-ssl.c,v
retrieving revision 1.16.2.1.2.3
diff -u -r1.16.2.1.2.3 soup-ssl.c
--- src/libsoup/soup-ssl.c	18 Mar 2003 19:35:56 -0000	1.16.2.1.2.3
+++ src/libsoup/soup-ssl.c	1 Apr 2003 18:47:29 -0000
@@ -58,7 +58,7 @@
 static gboolean
 soup_ssl_hup_waitpid (GIOChannel *source, GIOCondition condition, gpointer ppid)
 {
-	waitpid (GPOINTER_TO_INT (ppid), NULL, 0);
+	while (waitpid (GPOINTER_TO_INT (ppid), NULL, 0) == -1 && errno == EINTR);
 
 	return FALSE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]