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-594-g288f909
- From: aj at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 11 Apr 2012 19:04:21 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-594-g288f909
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 288f9098cb550efe1420f26fc3fc2563bb4ea109 (commit)
from 4be2b5700315a99c6828ad314ed3e45ecf1c1527 (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=288f9098cb550efe1420f26fc3fc2563bb4ea109
commit 288f9098cb550efe1420f26fc3fc2563bb4ea109
Author: Jim Meyering <meyering@redhat.com>
Date: Wed Apr 11 21:03:01 2012 +0200
Remove __wur from fwrite, fwrite_unlocked
[BZ #11959]
* libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
It is not necessarily an error to ignore fwrite's return
value. One can reliably use ferror to test for errors after
the fact.
diff --git a/ChangeLog b/ChangeLog
index 2e8c0b1..605a1e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-04-11 Jim Meyering <meyering@redhat.com>
+
+ [BZ #11959]
+ * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
+ It is not necessarily an error to ignore fwrite's return
+ value. One can reliably use ferror to test for errors after
+ the fact.
+
2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
* bits/types.h (__snseconds_t): New type.
@@ -11,7 +19,7 @@
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
(__SNSECONDS_T_TYPE): Likewise.
-2012-04-09 Andreas Jaeger <aj@suse.de>
+2012-04-10 Andreas Jaeger <aj@suse.de>
[BZ #2636]
* manual/time.texi (Processor Time): Return type of times is
diff --git a/NEWS b/NEWS
index c1bcf45..e7ae528 100644
--- a/NEWS
+++ b/NEWS
@@ -14,14 +14,14 @@ Version 2.16
4108, 4596, 4822, 5077, 5461, 5805, 5993, 6471, 6486, 6578, 6649, 6730,
6770, 6884, 6890, 6894, 6895, 6907, 6911, 9739, 9902, 10110, 10135, 10140,
10153, 10210, 10254, 10346, 10545, 10716, 11174, 11322, 11365, 11451,
- 11494, 11521, 12047, 12340, 13058, 13525, 13526, 13527, 13528, 13529,
- 13530, 13531, 13532, 13533, 13547, 13551, 13552, 13553, 13555, 13559,
- 13566, 13583, 13592, 13618, 13637, 13656, 13658, 13673, 13691, 13695,
- 13704, 13705, 13706, 13726, 13738, 13760, 13761, 13786, 13792, 13806,
- 13824, 13840, 13841, 13844, 13846, 13851, 13852, 13854, 13871, 13872,
- 13873, 13879, 13883, 13892, 13895, 13908, 13910, 13911, 13912, 13913,
- 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13926, 13928, 13938,
- 13963, 13967
+ 11494, 11521, 11959, 12047, 12340, 13058, 13525, 13526, 13527, 13528,
+ 13529, 13530, 13531, 13532, 13533, 13547, 13551, 13552, 13553, 13555,
+ 13559, 13566, 13583, 13592, 13618, 13637, 13656, 13658, 13673, 13691,
+ 13695, 13704, 13705, 13706, 13726, 13738, 13760, 13761, 13786, 13792,
+ 13806, 13824, 13840, 13841, 13844, 13846, 13851, 13852, 13854, 13871,
+ 13872, 13873, 13879, 13883, 13892, 13895, 13908, 13910, 13911, 13912,
+ 13913, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13926, 13928,
+ 13938, 13963, 13967
* ISO C11 support:
diff --git a/libio/stdio.h b/libio/stdio.h
index 9ca3ad3..8f49514 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -1,5 +1,5 @@
/* Define ISO C stdio on top of C++ iostreams.
- Copyright (C) 1991, 1994-2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1994-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -713,7 +713,7 @@ extern size_t fread (void *__restrict __ptr, size_t __size,
This function is a possible cancellation point and therefore not
marked with __THROW. */
extern size_t fwrite (const void *__restrict __ptr, size_t __size,
- size_t __n, FILE *__restrict __s) __wur;
+ size_t __n, FILE *__restrict __s);
__END_NAMESPACE_STD
#ifdef __USE_GNU
@@ -737,7 +737,7 @@ extern int fputs_unlocked (const char *__restrict __s,
extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
size_t __n, FILE *__restrict __stream) __wur;
extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
- size_t __n, FILE *__restrict __stream) __wur;
+ size_t __n, FILE *__restrict __stream);
#endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 10 +++++++++-
NEWS | 16 ++++++++--------
libio/stdio.h | 6 +++---
3 files changed, 20 insertions(+), 12 deletions(-)
hooks/post-receive
--
GNU C Library master sources