]> icculus.org git repositories - divverent/darkplaces.git/commit
rewrote FS_Search, hopefully it will work better now, and it now matches directories...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 16 Dec 2003 15:26:28 +0000 (15:26 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 16 Dec 2003 15:26:28 +0000 (15:26 +0000)
commit4d4b99bc56915c31fdd88790ac329d125a75a308
treec3c6e155340213b34d6aa1c04a359f842c875a14
parentc60119cef7f0b44169ddb4c7d688976f9f9283ae
rewrote FS_Search, hopefully it will work better now, and it now matches directories inside paks (in other words: listing sound/* will tell you about sound/plats and sound/whatever.wav, this is mainly to be consistent with filesystem directories), it is also no longer two-pass (although simple the two-pass approach was dangerous if the two listings came out different), and it now sorts the listing
rewrote much of matchpattern, now handles path separators specially, and uses a much better approach to handling the * wildcard (no longer looks for the following character, simply tries multiple matchpattern calls until it hits a path separator or gets a match)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3735 d7cf8633-e32d-0410-b094-e92efae38249
common.h
filematch.c
fs.c