Mercurial > hg > nginx-mail
comparison src/os/unix/ngx_errno.h @ 6:80ba094c6b3e NGINX_0_1_3
nginx 0.1.3
*) 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 <http://sysoev.ru> |
---|---|
date | Mon, 25 Oct 2004 00:00:00 +0400 |
parents | f0b350454894 |
children | 46833bd150cb |
comparison
equal
deleted
inserted
replaced
5:985c56ebe724 | 6:80ba094c6b3e |
---|---|
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 |