From 723e6cc248470b95f62e338cd5e1a6514975f9cc Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 25 Oct 2004 15:29:23 +0000 Subject: nginx-0.1.3-RELEASE import *) Feature: the ngx_http_autoindex_module and the autoindex directive. *) Feature: the proxy_set_x_url directive. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. --- src/os/unix/ngx_errno.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/os/unix/ngx_errno.h') diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h index 7218bb291..cc9b1d19f 100644 --- a/src/os/unix/ngx_errno.h +++ b/src/os/unix/ngx_errno.h @@ -51,6 +51,8 @@ ngx_int_t ngx_strerror_r(int err, char *errstr, size_t size); #else +/* Solaris has threads-safe strerror() */ + #define ngx_strerror_r(err, errstr, size) \ (char *) ngx_cpystrn(errstr, strerror(err), size) - (errstr) -- cgit v1.2.3