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.22-280-g51a3985


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  51a3985d9743b191b7bc0025563c211bfa9b1b8b (commit)
      from  b0b64e1b5ea394f2a0bcff201ac2a4af206d738a (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=51a3985d9743b191b7bc0025563c211bfa9b1b8b

commit 51a3985d9743b191b7bc0025563c211bfa9b1b8b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Sep 21 00:08:51 2015 +0200

    Fix vm_page_size visibility
    
    	* sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
    	vm_page_size.

diff --git a/ChangeLog b/ChangeLog
index 565c3ca..ff32d15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
+	vm_page_size.
+
 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
 	Really fix sysdeps/i386/fpu/s_scalbn.S build
diff --git a/sysdeps/mach/hurd/mmap.c b/sysdeps/mach/hurd/mmap.c
index 139f27a..f99590b 100644
--- a/sysdeps/mach/hurd/mmap.c
+++ b/sysdeps/mach/hurd/mmap.c
@@ -41,7 +41,7 @@ __mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset)
   mapaddr = (vm_address_t) addr;
 
   /* ADDR and OFFSET must be page-aligned.  */
-  if ((mapaddr & (vm_page_size - 1)) || (offset & (vm_page_size - 1)))
+  if ((mapaddr & (__vm_page_size - 1)) || (offset & (__vm_page_size - 1)))
     return (__ptr_t) (long int) __hurd_fail (EINVAL);
 
   if ((flags & (MAP_TYPE|MAP_INHERIT)) == MAP_ANON

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

Summary of changes:
 ChangeLog                |    5 +++++
 sysdeps/mach/hurd/mmap.c |    2 +-
 2 files changed, 6 insertions(+), 1 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]