From fc77d66abf6ed97a50e30b619b1647759d43f593 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 15 Aug 2002 23:57:00 +0000 Subject: * 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. --- libio/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libio/Makefile') diff --git a/libio/Makefile b/libio/Makefile index 28d8519a97..58d6575340 100644 --- a/libio/Makefile +++ b/libio/Makefile @@ -53,7 +53,7 @@ tests = tst_swprintf tst_wprintf tst_swscanf tst_wscanf tst_getwc tst_putwc \ tst-mmap-setvbuf bug-ungetwc1 bug-ungetwc2 tst-atime tst-eof \ tst-freopen bug-rewind bug-ungetc bug-fseek \ tst-mmap-eofsync tst-mmap-fflushsync bug-mmap-fflush \ - tst-mmap2-eofsync + tst-mmap2-eofsync tst-mmap-offend test-srcs = test-freopen all: # Make this the default target; it will be defined in Rules. -- cgit 1.4.1