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 | 6db33c712b72e313e928374bfd6b471911b3e658 (patch) | |
| tree | 2149cbb64d06d918c5e17e4e0d0035493b3c1f49 /src/os/unix/ngx_errno.h | |
| parent | 30091e8b38eb54639cc19ea5d2812f767c1be4c3 (diff) | |
| download | nginx-6db33c712b72e313e928374bfd6b471911b3e658.tar.gz nginx-6db33c712b72e313e928374bfd6b471911b3e658.tar.bz2 | |
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 '')
| -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__) |
