This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.28.9000-476-gbbb7dc8


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  bbb7dc8475b5c06b3e5d1dcf51a1ec6e045bfc6f (commit)
      from  dfa6216f24fabc471835a634aeb58fe7deef47d1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=bbb7dc8475b5c06b3e5d1dcf51a1ec6e045bfc6f

commit bbb7dc8475b5c06b3e5d1dcf51a1ec6e045bfc6f
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Dec 19 02:17:22 2018 +0100

    hurd: Fix 64bit fcntl lock implementation
    
    	* sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
    	values in the 64bit value cases.

diff --git a/ChangeLog b/ChangeLog
index 2945be5..2ea7440 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
+	values in the 64bit value cases.
+
 2018-12-18  Albert ARIBAUD <albert.aribaud@3adev.fr>
 
 	* include/time.h
diff --git a/sysdeps/mach/hurd/fcntl.c b/sysdeps/mach/hurd/fcntl.c
index f7f9abc..663dcb0 100644
--- a/sysdeps/mach/hurd/fcntl.c
+++ b/sysdeps/mach/hurd/fcntl.c
@@ -158,13 +158,13 @@ __libc_fcntl (int fd, int cmd, ...)
 	va_end (ap);
 	switch (cmd)
 	  {
-	  case F_GETLK:
+	  case F_GETLK64:
 	    errno = ENOSYS;
 	    return -1;
-	  case F_SETLKW:
+	  case F_SETLKW64:
 	    wait = 1;
 	    /* FALLTHROUGH */
-	  case F_SETLK:
+	  case F_SETLK64:
 	    return __f_setlk (fd, fl->l_type, fl->l_whence,
 			      fl->l_start, fl->l_len, wait);
 	  default:

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                 |    5 +++++
 sysdeps/mach/hurd/fcntl.c |    6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]