about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-15 23:57:00 +0000
committerRoland McGrath <roland@gnu.org>2002-08-15 23:57:00 +0000
commitfc77d66abf6ed97a50e30b619b1647759d43f593 (patch)
tree4eacd4d04abb104c54fe9ef2d05a65da6bafa315 /ChangeLog
parent8f83366e132bd7e273ea97c571e2d44c20a8ccbf (diff)
downloadglibc-fc77d66abf6ed97a50e30b619b1647759d43f593.tar.gz
glibc-fc77d66abf6ed97a50e30b619b1647759d43f593.tar.xz
glibc-fc77d66abf6ed97a50e30b619b1647759d43f593.zip
* libio/fileops.c (_IO_file_seekoff_mmap): Leave read pointers at EOF
	if seek would go past it.
	(mmap_remap_check): If file position is at or past EOF after check,
	leave read pointers at EOF and don't seek.

	* libio/tst-mmap-offend.c: New file.
	* libio/Makefile (tests): Add it.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 830b045aa1..e54d2609b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2002-08-15  Roland McGrath  <roland@redhat.com>
 
+	* libio/fileops.c (_IO_file_seekoff_mmap): Leave read pointers at EOF
+	if seek would go past it.
+	(mmap_remap_check): If file position is at or past EOF after check,
+	leave read pointers at EOF and don't seek.
+
+	* libio/tst-mmap-offend.c: New file.
+	* libio/Makefile (tests): Add it.
+
 	* locale/loadarchive.c (_nl_load_locale_from_archive) Store strdup of
 	the name as passed, rather than the name in the archive dictionary.