From 1fefc1fea75e0434acf42c54a4615f3af5c56656 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 13 Dec 2007 15:11:46 +0000 Subject: [PATCH] Apply patch for bsmtp Win32 daylight savings time fix supplied by Nerijus Baliunas git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6058 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/tools/bsmtp.c | 4 +++- bacula/technotes-2.3 | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bacula/src/tools/bsmtp.c b/bacula/src/tools/bsmtp.c index 11b4904aad..0188cedab3 100644 --- a/bacula/src/tools/bsmtp.c +++ b/bacula/src/tools/bsmtp.c @@ -217,7 +217,9 @@ __MINGW_IMPORT long _dstbias; long offset; _tzset(); offset = _timezone; - offset += _dstbias; + if (tm.tm_isdst) { + offset += _dstbias; + } return offset /= 60; #else diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index e36f77ae65..f28a39ac74 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -1,6 +1,9 @@ Technical notes on version 2.3 General: +13Dec07 +kes Apply patch for bsmtp Win32 daylight savings time fix supplied by + Nerijus Baliunas 12Dec07 kes Implement Plugin Directory and plugin events. 11Dec07 -- 2.39.5