rpms/glib2/devel glib-2.7.5-atomic.patch,1.5,1.6
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Aug 3 15:13:34 UTC 2005
- Previous message (by thread): rpms/mkinitrd/devel .cvsignore, 1.65, 1.66 mkinitrd.spec, 1.65, 1.66 sources, 1.68, 1.69
- Next message (by thread): rpms/openoffice.org/devel openoffice.org-1.9.122.ooo52626.SM.vcl.patch, NONE, 1.1 openoffice.org.spec, 1.366, 1.367
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mclasen
Update of /cvs/dist/rpms/glib2/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv19466
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 +-
5 files changed, 62 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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- glib-2.7.5-atomic.patch 3 Aug 2005 14:58:56 -0000 1.5
+++ glib-2.7.5-atomic.patch 3 Aug 2005 15:13:29 -0000 1.6
@@ -27,7 +27,7 @@
+ __asm__ __volatile__ ("cs %0, %2, %1"
+ : "+d" (result), "=Q" (*(atomic))
+ : "d" (newval), "m" (*(atomic)) : "cc" );
-+ result == oldval;
++ return result == oldval;
+}
+# elif GLIB_SIZEOF_VOID_P == 8 /* 64-bit system */
+gboolean
@@ -40,7 +40,7 @@
+ __asm__ __volatile__ ("csg %0, %2, %1"
+ : "+d" (result), "=Q" (*a)
+ : "d" ((long)(newval)), "m" (*a) : "cc" );
-+ result == oldval;
++ return result == oldval;
+}
+# else /* What's that */
+# error "Your system has an unsupported pointer size"
- Previous message (by thread): rpms/mkinitrd/devel .cvsignore, 1.65, 1.66 mkinitrd.spec, 1.65, 1.66 sources, 1.68, 1.69
- Next message (by thread): rpms/openoffice.org/devel openoffice.org-1.9.122.ooo52626.SM.vcl.patch, NONE, 1.1 openoffice.org.spec, 1.366, 1.367
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list