Fix g_atomic_pointer_compare_and_exchange on sparc64. (#167572, Gert

2005-07-19  Matthias Clasen  <mclasen@redhat.com>

        * glib/gatomic.c (g_atomic_pointer_compare_and_exchange):
        Fix g_atomic_pointer_compare_and_exchange on sparc64.
        (#167572, Gert Doering)
This commit is contained in:
Matthias Clasen 2005-07-19 15:30:23 +00:00 committed by Matthias Clasen
parent 527334d36d
commit cf17bb79d2
5 changed files with 25 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-07-19 Matthias Clasen <mclasen@redhat.com>
* glib/gatomic.c (g_atomic_pointer_compare_and_exchange):
Fix g_atomic_pointer_compare_and_exchange on sparc64.
(#167572, Gert Doering)
2005-07-15 Matthias Clasen <mclasen@redhat.com> 2005-07-15 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version * configure.in: Bump version

View File

@ -1,3 +1,9 @@
2005-07-19 Matthias Clasen <mclasen@redhat.com>
* glib/gatomic.c (g_atomic_pointer_compare_and_exchange):
Fix g_atomic_pointer_compare_and_exchange on sparc64.
(#167572, Gert Doering)
2005-07-15 Matthias Clasen <mclasen@redhat.com> 2005-07-15 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version * configure.in: Bump version

View File

@ -1,3 +1,9 @@
2005-07-19 Matthias Clasen <mclasen@redhat.com>
* glib/gatomic.c (g_atomic_pointer_compare_and_exchange):
Fix g_atomic_pointer_compare_and_exchange on sparc64.
(#167572, Gert Doering)
2005-07-15 Matthias Clasen <mclasen@redhat.com> 2005-07-15 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version * configure.in: Bump version

View File

@ -1,3 +1,9 @@
2005-07-19 Matthias Clasen <mclasen@redhat.com>
* glib/gatomic.c (g_atomic_pointer_compare_and_exchange):
Fix g_atomic_pointer_compare_and_exchange on sparc64.
(#167572, Gert Doering)
2005-07-15 Matthias Clasen <mclasen@redhat.com> 2005-07-15 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version * configure.in: Bump version

View File

@ -121,7 +121,7 @@ g_atomic_pointer_compare_and_exchange (gpointer *atomic,
: "=r" (result), "=m" (*a) : "=r" (result), "=m" (*a)
: "r" (oldval), "m" (*a), "r" (a), : "r" (oldval), "m" (*a), "r" (a),
"0" (newval)); "0" (newval));
return result != 0; return result == oldval;
} }
# else /* What's that */ # else /* What's that */
# error "Your system has an unsupported pointer size" # error "Your system has an unsupported pointer size"