Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_894214807==_" To: Eli Zaretskii From: Nate Eldredge Subject: Re: Make "Clock Skew" problem. Cc: ROBERT_FINLEY AT ntsc DOT navy DOT mil, djgpp AT delorie DOT com Date: Sun, 3 May 1998 09:57:06 -0700 Message-ID: <19980503165659.AAB13333@ppp122.cartsys.com> Precedence: bulk --=====================_894214807==_ Content-Type: text/plain; charset="us-ascii" At 06:13 5/3/1998 +0300, Eli Zaretskii wrote: > >On Fri, 1 May 1998, Nate Eldredge wrote: > >> *** 1093,1098 **** >> --- 1093,1100 ---- >> * >> * Apparently, this doesn't happen with the MS-DOS/DJGPP port, >> * although MS-DOS and MS-Windows 3.X/9X also use FAT filesystems. >> + * >> + * (Actually, it has been reported, hence the conditional --NE) >> */ >> if (mtime > now && (((mtime % 2) == 0) && ((mtime-1) > now))) >> #else > >According to what I wrote in another message in this thread, you will >need to allow up to 3 seconds of skew, to make the messages go away >completely. That message hasn't shown up here yet, but will this patch work? --=====================_894214807==_ Content-Type: text/plain; charset="us-ascii" *** remake.c~~ Wed Aug 27 20:31:24 1997 --- remake.c Sun May 3 09:37:14 1998 *************** *** 1085,1091 **** extern time_t time (); time (&now); ! #ifdef WINDOWS32 /* * FAT filesystems round time to nearest even second(!). Just * allow for any file (NTFS or FAT) to perhaps suffer from this --- 1085,1091 ---- extern time_t time (); time (&now); ! #if defined(WINDOWS32) || defined(__DJGPP__) /* * FAT filesystems round time to nearest even second(!). Just * allow for any file (NTFS or FAT) to perhaps suffer from this *************** *** 1093,1100 **** * * Apparently, this doesn't happen with the MS-DOS/DJGPP port, * although MS-DOS and MS-Windows 3.X/9X also use FAT filesystems. */ ! if (mtime > now && (((mtime % 2) == 0) && ((mtime-1) > now))) #else if (mtime > now) #endif --- 1093,1102 ---- * * Apparently, this doesn't happen with the MS-DOS/DJGPP port, * although MS-DOS and MS-Windows 3.X/9X also use FAT filesystems. + * + * (Actually, it has been reported, hence the conditional --NE) */ ! if (mtime > now && (((mtime % 2) == 0) && ((mtime-3) > now))) #else if (mtime > now) #endif --=====================_894214807==_ Content-Type: text/plain; charset="us-ascii" Nate Eldredge nate AT cartsys DOT com --=====================_894214807==_--