Mercurial > hg > nginx
changeset 123:b75602822f64
nginx-0.0.1-2003-07-24-00:01:29 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 23 Jul 2003 20:01:29 +0000 |
parents | cd91e4a1ad0d |
children | 842a78cebbb7 |
files | src/core/ngx_connection.h src/core/ngx_log.c src/os/win32/ngx_files.c src/os/win32/ngx_win32_config.h |
diffstat | 4 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ngx_connection.h Wed Jul 23 13:10:12 2003 +0000 +++ b/src/core/ngx_connection.h Wed Jul 23 20:01:29 2003 +0000 @@ -127,9 +127,9 @@ size_t size; time_t mod; - char *last_mod; 'Sun, 17 Mar 2002 19:39:50 GMT' - char *etag; '"a6d08-1302-3c94f106"' - char *len; '4866' + char *last_mod; "Sun, 17 Mar 2002 19:39:50 GMT" + char *etag; ""a6d08-1302-3c94f106"" + char *len; "4866" EV_VNODE should notify by some signal if diretory tree is changed or stat if aged >= N seconds (big enough)
--- a/src/core/ngx_log.c Wed Jul 23 13:10:12 2003 +0000 +++ b/src/core/ngx_log.c Wed Jul 23 20:01:29 2003 +0000 @@ -66,7 +66,7 @@ va_list args; #endif #if (WIN32) - int written; + u_int written; #endif if (log->file->fd == NGX_INVALID_FILE) {
--- a/src/os/win32/ngx_files.c Wed Jul 23 13:10:12 2003 +0000 +++ b/src/os/win32/ngx_files.c Wed Jul 23 20:01:29 2003 +0000 @@ -18,7 +18,7 @@ } -int ngx_file_append_mode(ngx_fd_t *fd) +int ngx_file_append_mode(ngx_fd_t fd) { if (SetFilePointer(fd, 0, NULL, FILE_END) == 0xFFFFFFFF) { if (GetLastError() != NO_ERROR) {
--- a/src/os/win32/ngx_win32_config.h Wed Jul 23 13:10:12 2003 +0000 +++ b/src/os/win32/ngx_win32_config.h Wed Jul 23 20:01:29 2003 +0000 @@ -9,6 +9,7 @@ #include <mswsock.h> #include <stddef.h> /* offsetof */ #include <stdio.h> +#include <stdlib.h> #include <stdarg.h> #include <time.h> /* gmtime, strftime */