summaryrefslogtreecommitdiff
path: root/src/dirent/versionsort.c
AgeCommit message (Collapse)AuthorLines
2012-06-13add (currently stubbed due to stubbed strverscmp) versionsort functionRich Felker-0/+8
based on patch by Emil Renner Berthing, with minor changes to dirent.h for LFS64 and organization of declarations this code should work unmodified once a real strverscmp is added, but I've been hesitant to add it because the GNU strverscmp behavior is harmful in a lot of cases (for instance if you have numeric filenames in hex). at some point I plan on trying to design a variant of the algorithm that behaves better on a mix of filename styles.