aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_errno.h
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2013-07-30 11:43:21 +0400
committerSergey Kandaurov <pluknet@nginx.com>2013-07-30 11:43:21 +0400
commit2b2def789199b1fc661fbac38ff6bf7fdccb7bbb (patch)
tree64c8de640346d21d7a0ec072737529dec09a372e /src/os/unix/ngx_errno.h
parenteb3fed9338768a152d208cf15f78eb60f2c0b6d2 (diff)
downloadnginx-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.h2
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__)