[Gtkradiant] [Bug 130] vfsGetFullPath bug

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Tue, 09 Dec 2003 15:50:00 -0600


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=130





------- Additional Comments From ttimo@idsoftware.com  2003-12-09 15:49 -------
for a more complete explanation:
win32 filesystem are not case sensitive (when you open a file)
*nix ones (including Macs) are

if you hand out a relative path to vfsGetFullPath that matches a real file, but
only in a case insensitive way, vfsGetFullPath won't find it on *nix

this means some stuff that works fine on win32 might break on *nix
the fix is to cut the path and walk down doing case insensitive matches on
directories and matches. it's quite slow under heavy usage and stuff.

we haven't seen this bug causing trouble though, and it's been there for a loong
time