diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2013-07-30 11:43:21 +0400 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2013-07-30 11:43:21 +0400 |
commit | 2b2def789199b1fc661fbac38ff6bf7fdccb7bbb (patch) | |
tree | 64c8de640346d21d7a0ec072737529dec09a372e /src/os/unix/ngx_errno.h | |
parent | eb3fed9338768a152d208cf15f78eb60f2c0b6d2 (diff) | |
download | nginx-2b2def789199b1fc661fbac38ff6bf7fdccb7bbb.tar.gz nginx-2b2def789199b1fc661fbac38ff6bf7fdccb7bbb.zip |
Autoindex: improved ngx_de_info() error handling.
This allows to build a directory listing whenever a loop exists in symbolic
link resolution of the path argument.
Diffstat (limited to 'src/os/unix/ngx_errno.h')
-rw-r--r-- | src/os/unix/ngx_errno.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h index 125087e78..1497c5f2f 100644 --- a/src/os/unix/ngx_errno.h +++ b/src/os/unix/ngx_errno.h @@ -49,10 +49,10 @@ typedef int ngx_err_t; #define NGX_ECANCELED ECANCELED #define NGX_EILSEQ EILSEQ #define NGX_ENOMOREFILES 0 +#define NGX_ELOOP ELOOP #if (NGX_HAVE_OPENAT) #define NGX_EMLINK EMLINK -#define NGX_ELOOP ELOOP #endif #if (__hpux__) |