From: Finn B. <bc...@us...> - 2001-07-14 22:27:49
|
Update of /cvsroot/jython/jython/org/python/core In directory usw-pr-cvs1:/tmp/cvs-serv30373 Modified Files: PyFile.java Log Message: RFileWrapper.seek(): Reset the eof flag when seeking into the buffer. The problem was exposed by test_zipfile.py. Index: PyFile.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyFile.java,v retrieving revision 2.18 retrieving revision 2.19 diff -C2 -r2.18 -r2.19 *** PyFile.java 2001/03/13 20:21:27 2.18 --- PyFile.java 2001/07/14 22:27:46 2.19 *************** *** 430,433 **** --- 430,434 ---- if (pos >= bufferStart && pos < dataEnd) { filePosition = pos; + endOfFile = false; return; } |