comparison src/os/unix/ngx_errno.h @ 457:ded1284520cc release-0.1.3

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.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 25 Oct 2004 15:29:23 +0000
parents 42d11f017717
children a88a3e4e158f
comparison
equal deleted inserted replaced
456:911c05435a02 457:ded1284520cc
49 49
50 ngx_int_t ngx_strerror_r(int err, char *errstr, size_t size); 50 ngx_int_t ngx_strerror_r(int err, char *errstr, size_t size);
51 51
52 #else 52 #else
53 53
54 /* Solaris has threads-safe strerror() */
55
54 #define ngx_strerror_r(err, errstr, size) \ 56 #define ngx_strerror_r(err, errstr, size) \
55 (char *) ngx_cpystrn(errstr, strerror(err), size) - (errstr) 57 (char *) ngx_cpystrn(errstr, strerror(err), size) - (errstr)
56 58
57 #endif 59 #endif
58 60