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:    ports/71439: Fix port: x11-toolkits/libgnomeui (multi-threading fix)
Message-ID:  <20040906230540.49B4A22E20@jsite.lefort.net>
Resent-Message-ID: <200409062310.i86NAQN1094401@freefall.freebsd.org>

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

>Number:         71439
>Category:       ports
>Synopsis:       Fix port: x11-toolkits/libgnomeui (multi-threading fix)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 06 23:10:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
>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;
 }
>Release-Note:
>Audit-Trail:
>Unformatted:



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