about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-04-23 10:43:28 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-04-23 10:43:28 -0700
commitc0baea34e0a5b6312d22c2318127480efd1e1dfe (patch)
tree81bef5e996fb0c01476fbb760cf5e52ae22556b2 /ChangeLog
parent803cb6b7a90de1dbfeb0b34e1c3fa7190ed2bec5 (diff)
downloadglibc-c0baea34e0a5b6312d22c2318127480efd1e1dfe.tar.gz
glibc-c0baea34e0a5b6312d22c2318127480efd1e1dfe.tar.xz
glibc-c0baea34e0a5b6312d22c2318127480efd1e1dfe.zip
* stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
[BZ #13970]
(strtod, strtof, strtold, strtol, strtoul, strtoq)
(strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
(strtod_l, strtof_l, strtold_l): Remove __wur.
It is not necessarily an error to ignore strtol's return value.
One can reliably look at the stored endptr to decide whether
the number had valid syntax.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e9592e5026..1a55bd7692 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+	[BZ #13970]
+	* stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
+	(strtod, strtof, strtold, strtol, strtoul, strtoq)
+	(strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
+	(strtod_l, strtof_l, strtold_l): Remove __wur.
+	It is not necessarily an error to ignore strtol's return value.
+	One can reliably look at the stored endptr to decide whether
+	the number had valid syntax.
+
 2012-04-21  Andreas Jaeger  <aj@suse.de>
 
 	[BZ #13739]