[Scummvm-cvs-logs] CVS: scummvm/common file.cpp,1.69,1.70
Eugene Sandulenko
sev at users.sourceforge.net
Sat Oct 16 11:41:03 CEST 2004
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8374
Modified Files:
file.cpp
Log Message:
Fix bug #1048129 which prevented eof() method from working.
Index: file.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/file.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- file.cpp 16 Oct 2004 13:09:51 -0000 1.69
+++ file.cpp 16 Oct 2004 18:40:06 -0000 1.70
@@ -246,7 +246,6 @@
real_len = fread(ptr2, 1, len, _handle);
if (real_len < len) {
- clearerr(_handle);
_ioFailed = true;
}
@@ -263,7 +262,6 @@
return 0;
if ((uint32)fwrite(ptr, 1, len, _handle) != len) {
- clearerr(_handle);
_ioFailed = true;
}
More information about the Scummvm-git-logs
mailing list