about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-08-10 18:01:40 +0000
committerRoland McGrath <roland@gnu.org>2004-08-10 18:01:40 +0000
commitf98ca075dbc8b8598dcc1d953b930cd87ced023a (patch)
treed5d36261ebe9493d6197d4523ac566b4c7fb2103 /ChangeLog
parent65903cc585ad7157fe03b527608b0f442b029fa5 (diff)
downloadglibc-f98ca075dbc8b8598dcc1d953b930cd87ced023a.tar.gz
glibc-f98ca075dbc8b8598dcc1d953b930cd87ced023a.tar.xz
glibc-f98ca075dbc8b8598dcc1d953b930cd87ced023a.zip
[BZ #316]
2004-08-10  Jakub Jelinek  <jakub@redhat.com>
	* libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t).
	(fwrite_unlocked): When checking if size * n is <= 8, cast each
	argument to size_t individually.  Cast n to (void) instead of
	(size_t), surround with (), return (size_t) 0 if one of n or size
	is 0.  [BZ #316]
	* stdio-common/Makefile (tests): Add tst-unlockedio.
	* stdio-common/tst-unlockedio.c: New test.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ec7a28228..2ea0689341 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2004-08-10  Jakub Jelinek  <jakub@redhat.com>
+
+	* libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t).
+	(fwrite_unlocked): When checking if size * n is <= 8, cast each
+	argument to size_t individually.  Cast n to (void) instead of
+	(size_t), surround with (), return (size_t) 0 if one of n or size
+	is 0.  [BZ #316]
+	* stdio-common/Makefile (tests): Add tst-unlockedio.
+	* stdio-common/tst-unlockedio.c: New test.
+
 2004-08-09  Roland McGrath  <roland@frob.com>
 
 	* manual/install.texi (Supported Configurations): Replace bug-glibc