From 2b2def789199b1fc661fbac38ff6bf7fdccb7bbb Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Tue, 30 Jul 2013 11:43:21 +0400 Subject: 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. --- src/os/unix/ngx_errno.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os/unix') 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__) -- cgit