[quake3-commits] [ioquake/ioq3] 67d9ec: Fix FS_FOpenFileReadDir non-zero file handle when ...
Zack Middleton
zturtleman at gmail.com
Tue Mar 18 22:13:55 EDT 2014
Branch: refs/heads/master
Home: https://github.com/ioquake/ioq3
Commit: 67d9ecd0704f661a6d0cffa2b9cf0a6ddaeaec3a
https://github.com/ioquake/ioq3/commit/67d9ecd0704f661a6d0cffa2b9cf0a6ddaeaec3a
Author: Zack Middleton <zturtleman at gmail.com>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M code/qcommon/files.c
Log Message:
-----------
Fix FS_FOpenFileReadDir non-zero file handle when file not found in pk3
If a pk3 search path is passed to FS_FOpenFileReadDir, a non-zero
file handle is returned if file is not found. This causes incorrect
behavior in FS_ReadFileDir (when a pk3 search path is passed in)
which only checks file handle, not length, for seeing if file exists.
I don't know of any issues in ioq3 caused by this.
More information about the quake3-commits
mailing list