/[Apache-SVN]
ViewVC logotype

Revision 1826306


Jump to revision: Previous Next
Author: jorton
Date: Fri Mar 9 09:09:38 2018 UTC (6 years, 3 months ago)
Changed paths: 3
Log Message:
Merge r1532281, r1532289, r1537718 from trunk:

* support/rotatelogs.c (get_now): Return the offset applied to the
  Unix time as a parameter.
  (doRotate): When exploding the time for strtfime formatting, iff in
  -l mode, subtract the offset and explode the real Unix time as a
  local time so %Z etc works correctly.

* support/rotatelogs.c (get_now): Fix the NULL ptr dereferences 
  added in r1532281.

* support/rotatelogs.c: Introduce an adjusted_time_t type to store the
  weird "adjusted time since epoch" type returned by get_now().
  Switch from int to long to fix an unnecessary Y2K38 issue.  Adjust
  use throughout and clean up other type issues.  No functional change
  intended apart from fixing Y2K38.

Submitted by: jorton
Reviewed by: jorton, jim, ylavic


Changed paths

Path Details
Directoryhttpd/httpd/branches/2.4.x/ modified , props changed
Directoryhttpd/httpd/branches/2.4.x/CHANGES modified , text changed
Directoryhttpd/httpd/branches/2.4.x/support/rotatelogs.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26