rpms/glib2/devel glib-2.7.5-atomic.patch,1.7,1.8
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Aug 3 17:03:36 UTC 2005
Author: mclasen
Update of /cvs/dist/rpms/glib2/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv23187
Modified Files:
glib-2.7.5-atomic.patch
Log Message:
More fiddling
glib-2.7.5-atomic.patch:
config.h.in | 3 +++
configure | 10 ++++++++++
configure.in | 6 ++++++
glib/gatomic.c | 44 ++++++++++++++++++++++++++++++++++++++++++--
tests/Makefile.in | 2 +-
tests/atomic-test.c | 27 +++++++++++++++++++++++++++
6 files changed, 89 insertions(+), 3 deletions(-)
Index: glib-2.7.5-atomic.patch
===================================================================
RCS file: /cvs/dist/rpms/glib2/devel/glib-2.7.5-atomic.patch,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- glib-2.7.5-atomic.patch 3 Aug 2005 16:44:38 -0000 1.7
+++ glib-2.7.5-atomic.patch 3 Aug 2005 17:03:22 -0000 1.8
@@ -64,7 +64,7 @@
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gmodule $(GLIB_DEBUG_FLAGS)
--- glib-2.7.5/tests/atomic-test.c.atomic 2005-08-03 12:35:57.000000000 -0400
-+++ glib-2.7.5/tests/atomic-test.c 2005-08-03 12:44:03.000000000 -0400
++++ glib-2.7.5/tests/atomic-test.c 2005-08-03 13:01:17.000000000 -0400
@@ -2,10 +2,16 @@
#undef G_LOG_DOMAIN
@@ -82,7 +82,7 @@
int
main (int argc,
char *argv[])
-@@ -58,6 +64,23 @@
+@@ -58,6 +64,27 @@
g_assert (g_atomic_pointer_compare_and_exchange (&atomic_pointer,
biggest_pointer, NULL));
g_assert (atomic_pointer == NULL);
@@ -102,6 +102,10 @@
+ ci->closure.ref_count = 1;
+ g_print ("refcount %d, int %d\n",
+ ci->closure.ref_count, ci->vint);
++
++ ci->closure.ref_count = 1 << 14;
++ g_print ("refcount %d, int %d\n",
++ ci->closure.ref_count, ci->vint);
+ }
return 0;
More information about the fedora-cvs-commits
mailing list