rpms/glib2/devel glib-2.10.2-test.patch, NONE, 1.1 glib2.spec, 1.85, 1.86 test.patch, 1.1, NONE

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Apr 7 18:30:54 UTC 2006


Author: mclasen

Update of /cvs/dist/rpms/glib2/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv8529

Modified Files:
	glib2.spec 
Added Files:
	glib-2.10.2-test.patch 
Removed Files:
	test.patch 
Log Message:
Fix a problem with the threadpool tests


glib-2.10.2-test.patch:
 threadpool-test.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

--- NEW FILE glib-2.10.2-test.patch ---
--- glib-2.10.2/tests/threadpool-test.c.test	2006-04-07 14:20:58.000000000 -0400
+++ glib-2.10.2/tests/threadpool-test.c	2006-04-07 14:29:01.000000000 -0400
@@ -5,8 +5,8 @@
 
 #include <glib.h>
 
-#define DEBUG_MSG(x)  
-/* #define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n");  */
+#define DEBUG_MSG(x)
+/* #define DEBUG_MSG(args) g_printerr args ; g_printerr ("\n"); */
 
 #define WAIT                5    /* seconds */
 #define MAX_THREADS         10
@@ -121,8 +121,6 @@
    DEBUG_MSG (("[unused] current threads %d",
 	       test_count_threads()));
 
-   g_assert (test_count_threads () == limit);
-
    DEBUG_MSG (("[unused] stopping unused threads"));
    
    g_thread_pool_stop_unused_threads ();


Index: glib2.spec
===================================================================
RCS file: /cvs/dist/rpms/glib2/devel/glib2.spec,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- glib2.spec	7 Apr 2006 18:22:16 -0000	1.85
+++ glib2.spec	7 Apr 2006 18:30:20 -0000	1.86
@@ -14,7 +14,7 @@
 Obsoletes: glib-gtkbeta
 URL: http://www.gtk.org
 
-Patch0: test.patch
+Patch0: glib-2.10.2-test.patch
 
 %description 
 GLib is the low-level core library that forms the basis


--- test.patch DELETED ---




More information about the fedora-cvs-commits mailing list