ac277daac4
From: eH To: physfs@icculus.org Subject: [physfs] lzma.c msvc, etc. patch I came across a few bugs compiling PhysFS with msvc9 - I've created a patch which seems to fix them: SzFileReadImp / SzFileSeekImp: Problem: Can't preform arithmatic on 'void *' Fix: Cast 'object' to unsigned long LZMA_enumerateFiles: Problem: There is no error handling if the directory 'dname' doesn't exist Fix: Check the return value of 'lzma_find_file()' before using it LZMA_isDirectory: Problem: return (file->item->IsDirectory) is illegal if 'file' doesn't exist Fix: Make sure 'file' isn't null before returning |
||
---|---|---|
.. | ||
dir.c | ||
grp.c | ||
hog.c | ||
lzma.c | ||
mvl.c | ||
qpak.c | ||
wad.c | ||
zip.c |