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-339-gc6e013c
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 9 Mar 2012 22:09:05 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-339-gc6e013c
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 c6e013c15e0091edc49affd6ce26562845000dcd (commit)
from 4962050e9783502ec0465ae1b6a4103563385198 (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=c6e013c15e0091edc49affd6ce26562845000dcd
commit c6e013c15e0091edc49affd6ce26562845000dcd
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Mar 9 22:08:39 2012 +0000
Always declare gets for C++ up to C++11 without checking __USE_GNU.
diff --git a/ChangeLog b/ChangeLog
index 79d9dc2..d2e15f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2012-03-09 Joseph Myers <joseph@codesourcery.com>
+ [BZ #13566]
+ * libio/stdio.h (gets): Always declare for C++ up to C++11 without
+ checking __USE_GNU.
+
* Makerules ($(inst_includedir)/%.h): New rule.
* stdio-common/Makefile (headers): Add bits/stdio_lim.h.
(install-others): Remove variable setting.
diff --git a/libio/stdio.h b/libio/stdio.h
index c69b382..9ca3ad3 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -623,7 +623,7 @@ extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
__wur;
#if !defined __USE_ISOC11 \
- || (defined __cplusplus && __cplusplus <= 201103L && !defined __USE_GNU)
+ || (defined __cplusplus && __cplusplus <= 201103L)
/* Get a newline-terminated string from stdin, removing the newline.
DO NOT USE THIS FUNCTION!! There is no limit on how much it will read.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
libio/stdio.h | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources