[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MS Visual C++ daylight saving time bug
From: |
Alexandre Parenteau |
Subject: |
Re: MS Visual C++ daylight saving time bug |
Date: |
Tue, 3 Apr 2001 09:03:33 -0600 |
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
>
>