summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2009-04-16 20:11:12 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2009-04-16 20:11:12 +0000
commit11a991f265f7676b3fceb22cdf05634d78f36a50 (patch)
tree22c6272561dc34a9c27ac3caee98b5312fd664d7 /config.h.in
parent858a14c793073c5b18bd00d81d1a7641d041f9a0 (diff)
downloadds-11a991f265f7676b3fceb22cdf05634d78f36a50.tar.gz
ds-11a991f265f7676b3fceb22cdf05634d78f36a50.tar.xz
ds-11a991f265f7676b3fceb22cdf05634d78f36a50.zip
Resolves: #475338
Summary: LOG: the intenal type of maxlogsize, maxdiskspace and minfreespace should be 64-bit integer (comment #20) Description: In log_reverse_convert_time, by initializing "struct tm" with NULLs: struct tm tm = {0}; tm_isdst is also set to 0, which means no daylight saving. mktime thinks when converting struct tm to time_t, use the knowledge "the time that the time_t represents is not in the daylight saving period". Instead, we should have set "tm.tm_isdst = -1;". That means, we don't have the knowledge, calculate it in mktime. I also fixed a silly bug in generating a rotated log file name which I introduced in my previous checkin.
Diffstat (limited to 'config.h.in')
0 files changed, 0 insertions, 0 deletions