search for: extra_time_offset

Displaying 1 result from an estimated 1 matches for "extra_time_offset".

2005 Feb 08
0
Samba patch kludge-gmt fixes red files in WinCvs
...mas Honigmann and Thomas G?nther -------------- next part -------------- diff -Naur samba-2.2.9.orig/source/lib/time.c samba-2.2.9/source/lib/time.c --- samba-2.2.9.orig/source/lib/time.c Sat May 8 03:07:12 2004 +++ samba-2.2.9/source/lib/time.c Fri Oct 22 15:53:01 2004 @@ -28,6 +28,7 @@ int extra_time_offset = 0; +BOOL use_kludge_gmt = True; #ifndef CHAR_BIT #define CHAR_BIT 8 @@ -315,8 +316,11 @@ ret = (time_t)(d+0.5); /* this takes us from kludge-GMT to real GMT */ - ret -= get_serverzone(); - ret += LocTimeDiff(ret); + if (use_kludge_gmt) + { + ret -= get_serverzone(); + ret +=...