From: Kern Sibbald Date: Thu, 13 Dec 2007 15:11:46 +0000 (+0000) Subject: Apply patch for bsmtp Win32 daylight savings time fix supplied by X-Git-Tag: Release-3.0.0~2148 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1fefc1fea75e0434acf42c54a4615f3af5c56656;p=bacula%2Fbacula 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 --- 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