mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 03:21:08 +00:00
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.
This commit is contained in:
parent
ea1ff4199d
commit
b63da701e5
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ ngx_open_glob(ngx_glob_t *gl)
|
|||
{
|
||||
int n;
|
||||
|
||||
n = glob((char *) gl->pattern, GLOB_NOSORT, NULL, &gl->pglob);
|
||||
n = glob((char *) gl->pattern, 0, NULL, &gl->pglob);
|
||||
|
||||
if (n == 0) {
|
||||
return NGX_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue