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.15-337-g90ad551
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 9 Mar 2012 21:13:21 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-337-g90ad551
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 90ad551f732ab70f0f1fca3d12d60c3d2d0e118c (commit)
from 67bb6da6798d55fff7ed759af51799dfeca740d3 (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=90ad551f732ab70f0f1fca3d12d60c3d2d0e118c
commit 90ad551f732ab70f0f1fca3d12d60c3d2d0e118c
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Mar 9 21:10:45 2012 +0000
Make pthread.h define all symbols from time.h.
See:
http://www.pasc.org/interps/unofficial/db/p1003.1c/pasc-1003.1c-46.html
http://www.pasc.org/interps/unofficial/db/p1003.1/pasc-1003.1-86.html
https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=index.tpl&source=L&listname=austin-group-l&id=17302
(Geoff Clare, austin-group-l, 9 Mar 2012)
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 6d5f847..3f70b0a 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-09 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/pthread/pthread.h (__need_clockid_t, __need_timespec):
+ Do not define before including <time.h>.
+
2012-03-08 David S. Miller <davem@davemloft.net>
* sysdeps/unix/sysv/linux/sparc/sem_post.c: Update copyright year.
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index 0d33cbd..bd97e85 100644
--- a/nptl/sysdeps/pthread/pthread.h
+++ b/nptl/sysdeps/pthread/pthread.h
@@ -21,10 +21,6 @@
#include <features.h>
#include <endian.h>
#include <sched.h>
-#ifdef __USE_XOPEN2K
-# define __need_clockid_t
-#endif
-#define __need_timespec
#include <time.h>
#include <bits/pthreadtypes.h>
-----------------------------------------------------------------------
Summary of changes:
nptl/ChangeLog | 5 +++++
nptl/sysdeps/pthread/pthread.h | 4 ----
2 files changed, 5 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources