[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[glibc] 01/01: hurd-i386/git-rtld-access.diff: Fix spurious errno update.



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

sthibault pushed a commit to branch sid
in repository glibc.

commit 26312cebca25c3f9b0e6b5c5df9df1a5062f7fc4
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Dec 15 17:49:51 2017 +0100

    hurd-i386/git-rtld-access.diff: Fix spurious errno update.
---
 debian/changelog                              | 3 ++-
 debian/patches/hurd-i386/git-rtld-access.diff | 3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index af322a8..1a30046 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 glibc (2.25-5) UNRELEASED; urgency=medium
 
-  * 
+  [ Samuel Thibault ]
+  * hurd-i386/git-rtld-access.diff: Fix spurious errno update.
 
  -- Aurelien Jarno <aurel32@debian.org>  Tue, 12 Dec 2017 23:52:07 +0100
 
diff --git a/debian/patches/hurd-i386/git-rtld-access.diff b/debian/patches/hurd-i386/git-rtld-access.diff
index 404f225..425020d 100644
--- a/debian/patches/hurd-i386/git-rtld-access.diff
+++ b/debian/patches/hurd-i386/git-rtld-access.diff
@@ -12,14 +12,13 @@ diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
 index 6d5c1abf83..2bfa64f02a 100644
 --- a/sysdeps/mach/hurd/dl-sysdep.c
 +++ b/sysdeps/mach/hurd/dl-sysdep.c
-@@ -557,6 +557,12 @@ __access (const char *file, int type)
+@@ -557,6 +557,11 @@ __access (const char *file, int type)
    errno = ENOSYS;
    return -1;
  }
 +int weak_function
 +__access_noerrno (const char *file, int type)
 +{
-+  errno = ENOSYS;
 +  return -1;
 +}
  

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


Reply to: