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.20-91-gb064308
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 17 Oct 2014 18:31:25 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-91-gb064308
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 b0643088bc7387e04cf53dcf7331d02f7fa62c72 (commit)
from 33cc770b986b5a913576cf264e6dff3b0f6aea95 (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=b0643088bc7387e04cf53dcf7331d02f7fa62c72
commit b0643088bc7387e04cf53dcf7331d02f7fa62c72
Author: Roland McGrath <roland@hack.frob.com>
Date: Fri Oct 17 11:30:15 2014 -0700
Fix NPTL build error when missing __NR_set_robust_list.
diff --git a/ChangeLog b/ChangeLog
index 3a5cddd..502bd42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-17 Roland McGrath <roland@hack.frob.com>
+
+ * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
+ [__NR_set_robust_list].
+
2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
* string/strcoll_l.c (get_next_seq): Fix up formatting.
diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c
index 9f7b20a..44223a7 100644
--- a/nptl/nptl-init.c
+++ b/nptl/nptl-init.c
@@ -162,9 +162,11 @@ static
void
__nptl_set_robust (struct pthread *self)
{
+#ifdef __NR_set_robust_list
INTERNAL_SYSCALL_DECL (err);
INTERNAL_SYSCALL (set_robust_list, err, 2, &self->robust_head,
sizeof (struct robust_list_head));
+#endif
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
nptl/nptl-init.c | 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources