Mailing List Archive

python/dist/src/Lib/test/output test_mmap,1.8,1.9
Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv29682/Lib/test/output

Modified Files:
test_mmap
Log Message:
SF bug # 585792, Invalid mmap crashes Python interpreter

Raise ValueError if user passes a size to mmap which is larger
than the file.


Index: test_mmap
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_mmap,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** test_mmap 8 Dec 2001 18:02:51 -0000 1.8
--- test_mmap 5 Sep 2002 21:48:06 -0000 1.9
***************
*** 25,28 ****
--- 25,29 ----
Ensuring that readonly mmap can't be write_byte() to.
Ensuring that readonly mmap can't be resized.
+ Opening mmap with size too big
Opening mmap with access=ACCESS_WRITE
Modifying write-through memory map.