Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  7 Sep 2004 01:05:40 +0200 (CEST)
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@FreeBSD.org
Subject:   Fix port: x11-toolkits/libgnomeui (multi-threading fix)
Message-ID:  <20040906230540.49B4A22E20@jsite.lefort.net>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Jean-Yves Lefort
>Organization:	
>Confidential:	no 
>Synopsis:       Fix port: x11-toolkits/libgnomeui (multi-threading fix)
>Severity:       serious
>Priority:       medium
>Category:       ports
>Class:          update
>Release:	FreeBSD 4.10-RELEASE i386
>Environment:
System: FreeBSD jsite.lefort.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu Jul 1 14:25:43 CEST 2004 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
See http://bugzilla.gnome.org/show_bug.cgi?id=152023.
Patch is attached here for your convenience.
>How-To-Repeat:
>Fix:
--- libgnomeui/gnome-ice.c.orig	Tue Sep  7 00:48:38 2004
+++ libgnomeui/gnome-ice.c	Tue Sep  7 00:49:05 2004
@@ -54,6 +54,8 @@
   IceConn connection = (IceConn) data;
   IceProcessMessagesStatus status;
 
+  GDK_THREADS_ENTER();
+
   status = IceProcessMessages (connection, NULL, NULL);
 
   if (status == IceProcessMessagesIOError)
@@ -73,6 +75,8 @@
 	  IceCloseConnection (connection);
 	}
     }
+
+  GDK_THREADS_LEAVE();
 
   return TRUE;
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040906230540.49B4A22E20>