]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/btime.c
Add debug times, reduce size of two-pool-changer test
[bacula/bacula] / bacula / src / lib / btime.c
index cfa881ed33faa6be5c82a81d0e2397d5bde0fcaf..7487fe1c5a40b3435e75adaad12b4799a1c90e06 100644 (file)
@@ -1,7 +1,7 @@
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2008 Free Software Foundation Europe e.V.
 
    The main author of Bacula is Kern Sibbald, with contributions from
    many others, a complete list can be found in the file AUTHORS.
@@ -223,6 +223,7 @@ int tm_woy(time_t stime)
    tm_yday = tm.tm_yday;
    tm.tm_mon = 0;
    tm.tm_mday = 4;
+   tm.tm_isdst = 0;                   /* 4 Jan is not DST */ 
    time4 = mktime(&tm);
    (void)localtime_r(&time4, &tm);
    fty = 1 - tm.tm_wday;