diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-09-28 08:34:51 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-09-28 08:34:51 +0000 |
commit | d90282d8ba69973d6612c405e52636085623ddcd (patch) | |
tree | 59e36e780b2f5b8f9348013d3037f8fc06ba0247 /src/core/ngx_times.c | |
parent | 6d2a14aa906b1d576d5151b2410b59cfcab5edd4 (diff) | |
download | nginx-d90282d8ba69973d6612c405e52636085623ddcd.tar.gz nginx-d90282d8ba69973d6612c405e52636085623ddcd.zip |
nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused files
Diffstat (limited to 'src/core/ngx_times.c')
-rw-r--r-- | src/core/ngx_times.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/ngx_times.c b/src/core/ngx_times.c index b6d5a3f1d..90ceaaeab 100644 --- a/src/core/ngx_times.c +++ b/src/core/ngx_times.c @@ -1,4 +1,9 @@ +/* + * Copyright (C) 2002-2004 Igor Sysoev + */ + + #include <ngx_config.h> #include <ngx_core.h> @@ -12,7 +17,7 @@ static ngx_int_t ngx_gmtoff; /* - * In the threaded mode only one thread updates cached time and strings + * In the threaded mode only one thread updates the cached time and strings * and these operations are protected by the mutex. The reading of the cached * time and strings is not protected by the mutex. To avoid the race * conditions for non-atomic values we use the NGX_TIME_SLOTS slots to store @@ -290,6 +295,7 @@ void ngx_gmtime(time_t t, ngx_tm_t *tp) mon += 2; if (yday >= 306) { + /* * there is no "yday" in Win32 SYSTEMTIME * |