You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2003/12/02 15:50:36 UTC
cvs commit: httpd-2.0/modules/loggers mod_log_config.c
jorton 2003/12/02 06:50:36
Modified: . Tag: APACHE_2_0_BRANCH CHANGES STATUS
modules/loggers Tag: APACHE_2_0_BRANCH mod_log_config.c
Log:
Backport from HEAD:
* modules/loggers/mod_log_config.c (log_request_time): Log
the minutes component of the timezone correctly.
PR: 23642
Submitted by: Hong-Gunn Chew <hg...@gunnet.org>
Reviewed by: Joe Orton, Bill Stoddard, Jeff Trawick
Revision Changes Path
No revision
No revision
1.988.2.188 +3 -0 httpd-2.0/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/httpd-2.0/CHANGES,v
retrieving revision 1.988.2.187
retrieving revision 1.988.2.188
diff -u -u -r1.988.2.187 -r1.988.2.188
--- CHANGES 2 Dec 2003 14:38:40 -0000 1.988.2.187
+++ CHANGES 2 Dec 2003 14:50:35 -0000 1.988.2.188
@@ -1,5 +1,8 @@
Changes with Apache 2.0.49
+ *) mod_log_config: Log the minutes component of the timezone correctly.
+ PR 23642. [Hong-Gunn Chew <hgbug gunnet.org>]
+
*) mod_proxy: Fix cases where an invalid status-line could be sent
to the client. PR 23998. [Joe Orton]
1.751.2.571 +1 -5 httpd-2.0/STATUS
Index: STATUS
===================================================================
RCS file: /home/cvs/httpd-2.0/STATUS,v
retrieving revision 1.751.2.570
retrieving revision 1.751.2.571
diff -u -u -r1.751.2.570 -r1.751.2.571
--- STATUS 2 Dec 2003 14:38:40 -0000 1.751.2.570
+++ STATUS 2 Dec 2003 14:50:35 -0000 1.751.2.571
@@ -80,10 +80,6 @@
+1: stoddard
+1 (concept): trawick (looks reasonable when compared with worker)
- * Fix timezone handling in mod_log_config. PR 23642
- modules/loggers/mod_log_config.c: r1.107
- +1: jorton, stoddard, trawick
-
* parsed_uri.port is only valid iff parsed_uri.port_str != NULL.
Old code simply checked if it was non-zero, not if it
was *valid*
No revision
No revision
1.95.2.8 +1 -1 httpd-2.0/modules/loggers/mod_log_config.c
Index: mod_log_config.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/loggers/mod_log_config.c,v
retrieving revision 1.95.2.7
retrieving revision 1.95.2.8
diff -u -u -r1.95.2.7 -r1.95.2.8
--- mod_log_config.c 21 Sep 2003 21:23:34 -0000 1.95.2.7
+++ mod_log_config.c 2 Dec 2003 14:50:36 -0000 1.95.2.8
@@ -570,7 +570,7 @@
"[%02d/%s/%d:%02d:%02d:%02d %c%.2d%.2d]",
xt.tm_mday, apr_month_snames[xt.tm_mon],
xt.tm_year+1900, xt.tm_hour, xt.tm_min, xt.tm_sec,
- sign, timz / (60*60), timz % (60*60));
+ sign, timz / (60*60), (timz % (60*60)) / 60);
cached_time->t_validate = t_seconds;
memcpy(&(request_time_cache[i]), cached_time,
sizeof(*cached_time));