This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit 019e2ab986f13a2d374fea8094e59a2db46dabde
Author: Samuel Thibault <[email protected]>
Date:   Fri Sep 2 07:23:00 2016 +0000

    hurd-i386/tg-gsync-libc.diff: Fix for glibc 2.24
---
 debian/changelog                            | 3 ++-
 debian/patches/hurd-i386/tg-gsync-libc.diff | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 11403cf..319ad3e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 glibc (2.24-2) UNRELEASED; urgency=medium
 
-  * 
+  [ Samuel Thibault ]
+  * hurd-i386/tg-gsync-libc.diff: Fix for glibc 2.24.
 
  -- Aurelien Jarno <[email protected]>  Wed, 31 Aug 2016 17:58:05 +0200
 
diff --git a/debian/patches/hurd-i386/tg-gsync-libc.diff 
b/debian/patches/hurd-i386/tg-gsync-libc.diff
index 562ee81..5a58ae4 100644
--- a/debian/patches/hurd-i386/tg-gsync-libc.diff
+++ b/debian/patches/hurd-i386/tg-gsync-libc.diff
@@ -314,15 +314,15 @@ Index: glibc-2.23/hurd/hurdlock.c
 +
 +void lll_robust_unlock (void *ptr, int flags)
 +{
++  unsigned int val = atomic_load_relaxed((unsigned int *)ptr);
 +  while (1)
 +    {
-+      unsigned int val = *(unsigned int *)ptr;
 +      if (val & LLL_WAITERS)
 +        {
 +          lll_set_wake (ptr, 0, flags);
 +          break;
 +        }
-+      else if (atomic_compare_and_exchange_bool_rel ((int *)ptr, 0, val) == 0)
++      else if (atomic_compare_exchange_weak_release ((unsigned int *)ptr, 
&val, 0))
 +        break;
 +    }
 +}

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git

Reply via email to