Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_894086018==_" To: ROBERT_FINLEY AT ntsc DOT navy DOT mil, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Make "Clock Skew" problem. Date: Fri, 1 May 1998 22:10:38 -0700 Message-ID: <19980502051013.AAJ531@ppp122.cartsys.com> Precedence: bulk --=====================_894086018==_ Content-Type: text/plain; charset="us-ascii" At 09:00 5/1/1998 EST, ROBERT_FINLEY AT ntsc DOT navy DOT mil wrote: > >I was very disappointed to find this problem in the mail archives. I assumed >it was a problem with my installation. When I downloaded "djgpp" it seemed like >it was going to be just the trick. A GNU/Unix style compiler which I could run >on my laptop and play with in my spare time to learn more about the GNU tool >chain (we use Solaris and VxWorks here at work) and still use the latest Windows >95 for work. > >However with a broken "make", I can't really use it. I will be glad to help in >my spare time on this, since I can repeat the problem EVERY time, but since I am >only an apprentice, I will need some direction and someone to send results to. > >If someone already has a fix or workaround, I would like to get a hold of it. I don't have a system which reproduces it, but try this patch (at end of message). You may need to use the `dosbuild' batch file to rebuild `make' to avoid a catch-22. I can rebuild `make' with it and send you the binary if you have trouble building `make' yourself. Please post the outcome. --=====================_894086018==_ Content-Type: text/plain; charset="us-ascii" *** remake.c~ Wed Aug 27 20:31:24 1997 --- remake.c Fri May 1 22:07:22 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,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 --=====================_894086018==_ Content-Type: text/plain; charset="us-ascii" Nate Eldredge nate AT cartsys DOT com --=====================_894086018==_--