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.18-671-gb627fdd
- From: ppluzhnikov at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 19 Dec 2013 18:49:26 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.18-671-gb627fdd
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 b627fdd58554bc36bd344dc40a8787c4b7a9cc46 (commit)
from 063b2acbce83549df82ab30f5af573f1b9c4bd19 (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=b627fdd58554bc36bd344dc40a8787c4b7a9cc46
commit b627fdd58554bc36bd344dc40a8787c4b7a9cc46
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date: Thu Dec 19 10:48:01 2013 -0800
Fix incorrect power of 2 check in last commit.
diff --git a/elf/dl-misc.c b/elf/dl-misc.c
index e5c76a7..ad2d8ac 100644
--- a/elf/dl-misc.c
+++ b/elf/dl-misc.c
@@ -396,7 +396,7 @@ __signal_safe_memalign (size_t boundary, size_t size)
boundary = sizeof (*header);
/* Boundary must be a power of two. */
- if ((boundary & (boundary - 1)) == 0)
+ if (!powerof2(boundary))
return NULL;
size_t pg = GLRO (dl_pagesize);
-----------------------------------------------------------------------
Summary of changes:
elf/dl-misc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources