> Oops, sorry, I misread your previous message. > > But I'm not entirely sure how you would do what you say. > Wouldn't looking > for files in a truly case-insensitive fashion require you to > attempt loading > all the different case permutations of the filename under > *nix? Which with a > filename of only 8 characters would require up to 64 attempts (growing > exponentially as the length of the filename increases). > Either that or you > would have to get a full directory listing and search through > it. Both of > which sounds to me less efficient than just looking for the lowercase > filename? :)
Heh, no, attempting to open each permutation wouldn't be necessary. Getting a directory listing and searching through it would be the way to go, and wouldn't really add much overhead considering the way that HLDS needs to use the filesystem. But efficiency aside, I'd prefer something that unifies the process across platforms rather than creating even more special conditions for certain platforms. _______________________________________________ hlds_apps mailing list [EMAIL PROTECTED] http://list.valvesoftware.com/mailman/listinfo/hlds_apps
