info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MS Visual C++ daylight saving time bug


From: David L. Martin
Subject: Re: MS Visual C++ daylight saving time bug
Date: Thu, 5 Apr 2001 08:52:54 -0500

Alex,

The MS Visual C++ daylight saving time bug probably only affected
my local build of WinCVS because I was not using Service
Pack 3 or higher.

I recompiled WinCVS using Visual Studio Service Pack 5, and the
particular problem I was seeing went away (that all files committed
since April 1, 2001 were always showing up as Modified).  A
subsequent update of these files fixed it.  

(I supposed I could have been patient and wait until April
9, 2001 for the problem to go away, but I wanted to be certain
it was the MS Visual C++ bug causing that problem).

I still find that for WinCVS on NT that after a daylight saving time
switch that I need to either cvs status, cvs update, or cvs -n update
my working area (basically, any operation that will rewrite the
CVS/Entries file) before the Modified file indication is cleared.  I did
not need to do this on Win 98.  This may be related to the way NTFS
handles file modification times after a daylight saving time transition,
as was previously noted in this thread.

Regards,
David Martin


----- Original Message ----- 
From: "Alexandre Parenteau" <address@hidden>
To: <address@hidden>; <address@hidden>; <address@hidden>
Sent: Tuesday, April 03, 2001 3:00 PM
Subject: Re: MS Visual C++ daylight saving time bug


> Jerzy just made me read that :
> 
> http://msdn.microsoft.com/visualc/headlines/2001.asp
> 
> Funny....
> 
> alex.
> 
> ----- Original Message ----- 
> From: <address@hidden>
> To: <address@hidden>; <address@hidden>; <address@hidden>
> Sent: Tuesday, April 03, 2001 1:27 PM
> Subject: RE: MS Visual C++ daylight saving time bug
> 
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > If your cvs working directory is on an NT File System (NTFS)
> > partition, the problem may have been caused by the way windows stores
> > times for events in the system event log and files in the NTFS. For
> > details, see:
> > http://support.microsoft.com/support/kb/articles/Q129/5/74.asp
> > 
> > - - Tim
> > 
> > > -----Original Message-----
> > > From: Alexandre Parenteau [mailto:address@hidden
> > > Sent: Tuesday, April 03, 2001 11:04 AM
> > > To: David L. Martin; info-cvs
> > > Subject: Re: MS Visual C++ daylight saving time bug
> > > 
> > > 
> > > David and All,
> > > 
> > > For WinCvs, we use Visual C++ 6.0 SP 4 and we called tzset. I 
> > > didn't get any
> > > problem but I'm not using cvsnt.
> > > 
> > > Regards,
> > > alex.
> > > 
> > > ----- Original Message -----
> > > From: "David L. Martin" <address@hidden>
> > > To: "info-cvs" <address@hidden>
> > > Cc: "Alexandre Parenteau" <address@hidden>
> > > Sent: Tuesday, April 03, 2001 8:31 AM
> > > Subject: MS Visual C++ daylight saving time bug
> > > 
> > > 
> > > > All,
> > > >
> > > > I've seen a problem with WinCVS 1.2 since the daylight saving
> > > > time switch on 4/1/01 which I believe is due to the so-called
> > > > "April Fool's 2001 Bug" in the Visual C++ runtime library.
> > > >
> > > > This may be old news to some, but I was caught off-guard by it.
> > > > Basically, any calls to ctime() or asctime() will result in a
> > > > time uncorrected for daylight saving time for the period 4/1-4/8
> > > > for the year 2001 for some older versions of msvcrt.dll
> > > >
> > > > This was apparently fixed in Visual Studio 6 Service Pack 3.
> > > >
> > > > http://www.pcworld.com/news/article.asp?aid=9327
> > > > http://msdn.microsoft.com/visualc/headlines/2001.asp
> > > >
> > > > Regards,
> > > > David Martin
> > > >
> > > >
> > > 
> > > _______________________________________________
> > > Info-cvs mailing list
> > > address@hidden
> > > http://mail.gnu.org/mailman/listinfo/info-cvs
> > > 
> > 
> > -----BEGIN PGP SIGNATURE-----
> > Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
> > 
> > iQA/AwUBOsokO30GulZt1ukUEQJvdgCgpuA3gDhCabU2V+G8mtLJJLTJlksAn1nY
> > cBk9BMRD1hyyWfMVUUmezr6U
> > =RWRa
> > -----END PGP SIGNATURE-----
> > 
> > _______________________________________________
> > Info-cvs mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/info-cvs
> > 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]