This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.17-868-g8fbec01
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 28 Jun 2013 21:45:27 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.17-868-g8fbec01
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 8fbec010989a242f6eb17be837255502c459977d (commit)
from 0432680e8c2ecd832038387f92b462dea75e94cc (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=8fbec010989a242f6eb17be837255502c459977d
commit 8fbec010989a242f6eb17be837255502c459977d
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Jun 28 21:45:11 2013 +0000
Consistently use page_shift in sysdeps/unix/sysv/linux/mmap64.c.
diff --git a/ChangeLog b/ChangeLog
index 8d81f2d..f3da517 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-28 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
+ instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
+
2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
[BZ #12492]
diff --git a/sysdeps/unix/sysv/linux/mmap64.c b/sysdeps/unix/sysv/linux/mmap64.c
index 175e4ab..e2dcdc4 100644
--- a/sysdeps/unix/sysv/linux/mmap64.c
+++ b/sysdeps/unix/sysv/linux/mmap64.c
@@ -56,7 +56,7 @@ __mmap64 (void *addr, size_t len, int prot, int flags, int fd, off64_t offset)
result = (void *)
INLINE_SYSCALL (mmap2, 6, addr,
len, prot, flags, fd,
- (off_t) (offset >> MMAP2_PAGE_SHIFT));
+ (off_t) (offset >> page_shift));
return result;
}
weak_alias (__mmap64, mmap64)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/unix/sysv/linux/mmap64.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources