[Syslog-ng-commit] syslog-ng--mainline: fixed timestamp calculation
on timezone barriers
Balazs Scheidler
bazsi at balabit.hu
Sun Apr 9 10:02:52 CEST 2006
Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-32>
Revision: syslog-ng--mainline--2.0--patch-32
Archive: devel at balabit.hu--other-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Sun Apr 9 10:02:44 CEST 2006
Standard-date: 2006-04-09 08:02:44 GMT
Modified-files: ChangeLog src/logmsg.c src/misc.c
tests/unit/test_msgparse.c tests/unit/test_template.c
New-patches: devel at balabit.hu--other-1/syslog-ng--mainline--2.0--patch-32
Summary: fixed timestamp calculation on timezone barriers
Keywords:
* src/logmsg.c (log_msg_parse): fixed timestamp calculation where a
timezone information was specified, see the comment for details,
* tests/unit/test_msgparse.c: added some more testcases with
timestamps around the DST switch
* tests/unit/test_template.c: fixed the timezone offset of the
arbitrary timestamp chosen in the testcases
Diff stats:
ChangeLog | 22 +++++++++++
src/logmsg.c | 27 ++++++++++---
src/misc.c | 15 ++++---
tests/unit/test_msgparse.c | 90 +++++++++++++++++++++++++++++++++++++++++++--
tests/unit/test_template.c | 1
5 files changed, 139 insertions(+), 16 deletions(-)
More information about the Syslog-ng-commit
mailing list