[physfs] Does PHYSFS_enumerateFiles sort or not?
Sik the hedgehog
sik.the.hedgehog at gmail.com
Thu Oct 22 11:57:21 EDT 2015
2015-10-20 6:35 GMT-03:00, Willi Schinmeyer <willi at schinmeyer.de>:
> Judging from the source code (repo from 2014-07) it looks like it
> sorts to me; the enumFilesCallback() used in PHYSFS_enumerateFiles()
> even contains a comment that reads "See if file is in the list
> already, and if not, insert it in there alphabetically..."
Yeah, checked and it's in 2.0.3 (which is 2012):
/*
* See if file is in the list already, and if not, insert it in there
* alphabetically...
*/
That said, what's the piece of code that does the sorting? o.o
More information about the physfs
mailing list