]> git.kaiwu.me - nginx.git/commit
Core: removed GLOB_NOSORT glob option.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 29 Nov 2012 23:15:41 +0000 (23:15 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 29 Nov 2012 23:15:41 +0000 (23:15 +0000)
commitb63da701e5b3945198a507f5c604f3c2a6c4cb8b
tree6b9929c07613d36144bbbafcc374ce46a671dc08
parentea1ff4199de7c7f697cac8c9072b4d65650b0b7b
Core: removed GLOB_NOSORT glob option.

This will result in alphabetical sorting of included files if
the "include" directive with wildcards is used.

Note that the behaviour is now different from that on Windows, where
alphabetical sorting is not guaranteed for FindFirsFile()/FindNextFile()
(used to be alphabetical on NTFS, but not on FAT).

Approved by Igor Sysoev, prodded by many.
src/os/unix/ngx_files.c