mirror of
https://github.com/nginx/nginx.git
synced 2025-01-07 22:53:02 -06:00
nginx-0.0.1-2003-07-24-00:01:29 import
This commit is contained in:
parent
3a081188dc
commit
bc6f9f2359
@ -127,9 +127,9 @@ cached file
|
|||||||
|
|
||||||
size_t size;
|
size_t size;
|
||||||
time_t mod;
|
time_t mod;
|
||||||
char *last_mod; 'Sun, 17 Mar 2002 19:39:50 GMT'
|
char *last_mod; "Sun, 17 Mar 2002 19:39:50 GMT"
|
||||||
char *etag; '"a6d08-1302-3c94f106"'
|
char *etag; ""a6d08-1302-3c94f106""
|
||||||
char *len; '4866'
|
char *len; "4866"
|
||||||
|
|
||||||
EV_VNODE should notify by some signal if diretory tree is changed
|
EV_VNODE should notify by some signal if diretory tree is changed
|
||||||
or stat if aged >= N seconds (big enough)
|
or stat if aged >= N seconds (big enough)
|
||||||
|
@ -66,7 +66,7 @@ void ngx_log_error_core(int level, ngx_log_t *log, ngx_err_t err,
|
|||||||
va_list args;
|
va_list args;
|
||||||
#endif
|
#endif
|
||||||
#if (WIN32)
|
#if (WIN32)
|
||||||
int written;
|
u_int written;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (log->file->fd == NGX_INVALID_FILE) {
|
if (log->file->fd == NGX_INVALID_FILE) {
|
||||||
|
@ -18,7 +18,7 @@ ssize_t ngx_read_file(ngx_file_t *file, char *buf, size_t size, off_t offset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
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 (SetFilePointer(fd, 0, NULL, FILE_END) == 0xFFFFFFFF) {
|
||||||
if (GetLastError() != NO_ERROR) {
|
if (GetLastError() != NO_ERROR) {
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
#include <mswsock.h>
|
#include <mswsock.h>
|
||||||
#include <stddef.h> /* offsetof */
|
#include <stddef.h> /* offsetof */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#include <time.h> /* gmtime, strftime */
|
#include <time.h> /* gmtime, strftime */
|
||||||
|
Loading…
Reference in New Issue
Block a user