-e Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-99> Revision: syslog-ng--mainline--2.0--patch-99 Archive: devel@balabit.hu--other-1 Creator: Balazs Scheidler <bazsi@balabit.hu> Date: Thu Nov 16 15:15:50 CET 2006 Standard-date: 2006-11-16 14:15:50 GMT Modified-files: ChangeLog src/logmsg.c tests/unit/test_msgparse.c New-patches: devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-99 Summary: timezone offset calculation fix Keywords: * src/logmsg.c (log_stamp_format): don't use the absolute value of timezone offset, (log_msg_parse): initialize tm.tm_gmtoff using a call to localtime() instead of using memset(), fixed tv_sec calculation as it was not really UTC which it should've been. * tests/unit/test_msgparse.c: fixed time parsing testcases Diff stats: ChangeLog | 21 +++++++++++++++++++++ src/logmsg.c | 19 ++++++++++++------- tests/unit/test_msgparse.c | 22 +++++++++++----------- 3 files changed, 44 insertions(+), 18 deletions(-)