comparison src/os/unix/ngx_errno.c @ 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 cc9f381affaa
children 46833bd150cb
comparison
equal deleted inserted replaced
5:985c56ebe724 6:80ba094c6b3e
6 6
7 #include <ngx_config.h> 7 #include <ngx_config.h>
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9 9
10 10
11 #if (HAVE_STRERROR_R) 11 #if (NGX_STRERROR_R)
12 12
13 ngx_int_t ngx_strerror_r(int err, char *errstr, size_t size) 13 ngx_int_t ngx_strerror_r(int err, char *errstr, size_t size)
14 { 14 {
15 size_t len; 15 size_t len;
16 16
29 } 29 }
30 30
31 return len; 31 return len;
32 } 32 }
33 33
34 #elif (HAVE_GNU_STRERROR_R) 34 #elif (NGX_GNU_STRERROR_R)
35 35
36 /* Linux strerror_r() */ 36 /* Linux strerror_r() */
37 37
38 ngx_int_t ngx_strerror_r(int err, char *errstr, size_t size) 38 ngx_int_t ngx_strerror_r(int err, char *errstr, size_t size)
39 { 39 {