Displaying 1 result from an estimated 1 matches for "loctimediff".
2005 Feb 08
0
Samba patch kludge-gmt fixes red files in WinCvs
...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 += LocTimeDiff(ret);
+ }
return(ret);
}
@@ -359,8 +363,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)
+ {
+...