1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 01:49:10 +00:00

(svn r11119) -Codechange: analyze .tar files upon loading, remembering their files and offsets, which speeds up .tar handling with a big factor

-Fix: several win32 .tar support problems
-Fix: better checking of .tar versions and other minor things
-Codechange: don't call fclose() but FioFClose to close a file
This commit is contained in:
truelight
2007-09-16 18:10:52 +00:00
parent 345a4a28d8
commit 631dc06212
4 changed files with 149 additions and 123 deletions

View File

@@ -130,7 +130,7 @@ static bool FileMD5(const MD5File file, bool warn)
}
if (ferror(f) && warn) ShowInfoF("Error Reading from %s \n", file.filename);
fclose(f);
FioFCloseFile(f);
md5_finish(&filemd5state, digest);
return CheckMD5Digest(file, digest, warn);