Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 25605, Hotfix 11 for Borland Developer Studio 2006 and Turbo C++ 2006

by Tim DelChiaro Email: Anonymous


This hotfix updates the C++Builder RTL for the new daylight saving time rules in effect for 2007. For more information, please see the readme.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
Network License Users

If you are a network license user, click  here  to download this submission.

To download this, you must have registered [one of]:
Borland Developer Studio 2006 - Architect Educational edition
Borland Developer Studio 2006 - Architect Trial
Borland Developer Studio 2006 - Architect edition
Borland Developer Studio 2006 - Enterprise edition
Borland Developer Studio 2006 - Professional Educational edition
Borland Developer Studio 2006 - Professional edition
Turbo C++ 2006 Explorer Edition
Turbo C++ 2006 Professional Edition
Turbo C++ 2006 Professional Edition Academic

For C++Builder, Version 10.0  to 10.0
Copyright: All rights reserved


Terms of use: Export restrictions


Size: 1,976,569 bytes
Updated on Thu, 07 Oct 2010 10:56:14 GMT
Originally uploaded on Tue, 06 May 2008 17:35:48 GMT
SHA1 Hash: A9FD7DF6F952F1E6F21384B251FE364E78001D72
MD5 Hash: 4E54A68F863EAF3500ED0CC9BB68CBBD

    Explore the files in this upload

Description
BDS2006 Update 2 Hotfix 11

This software patch is being provided to licensed users of Borland Developer Studio 2006, C++Builder 2006, and Turbo C++ 2006. Installation and use are governed by the license statement for Borland Developer Studio 2006 or Turbo C++ 2006.

This Hotfix applies to:

Product: Borland Developer Studio, Turbo C++
Version: 2006
Update level: Update 2
Editions: Professional, Enterprise, Architect, Turbo Explorer, Turbo Professional
Languages: English, German, French, Japanese

Description of updates included in this hotfix:

Adds new daylight saving rules in effect for 2007.

There are now three periods supported:
1970-1986 DST starts last Sunday in April and ends last Sunday in October
1987-2006 DST starts first Sunday in April and ends last Sunday in October
2007- DST starts second Sunday in March and ends first Sunday in November

There are additionally two behavior changes:

The time from 2:00-2:59 on a DST transition (which doesn't exist) was being treated as requests for an hour earlier. This was compatible with Microsoft VC but differs from Linux and Mac and what most people expect. We now behave like the wall clock and jump forward into DST. This behavior can currently be overridden by setting the variable _PREFER_START_DAYLIGHT_TIME declared in time.h to zero.

Another change is the selection of time during the overlapping hour at the end of DST (1:00-1:59). Our previous behavior was to select the first time (in DST). We now select the standard time version which is compatible with Microsoft VC, Linux, and Mac. This behavior can currently be overridden by setting the variable _PREFER_END_STANDARD_TIME declared in time.h to zero.


Install instructions for BDS 2006 and Turbo C++ 2006 users:

1. unzip the hotfix zip file into a temporary directory

2. Copy the two dll files from the hotfix bin directory to your
c:\windows\system32 directory, replacing the old versions of the files.

NOTE: When deploying applications you should copy the neccessary DLLs into your application directory to ensure that you are using the versions you built against.

3. Copy time.h from the hotfix include directory to your BDS include directory (by default C:\Program Files\Borland\BDS\4.0\include), replacing the old time.h.

3. Copy the six lib files from the hotfix lib directory to your BDS lib directory (by default C:\Program Files\Borland\BDS\4.0\lib), replacing the old versions of the files.

4. Copy timefunc.c from the hotfix source\time directory to the source\time subdirectory of the RTL source tree (by default c:\Program Files\Borland\BDS\4.0\source\cpprtl\Source\time) replacing the old version of timefunc.c.


Install instructions for users of C++Builder 6 or earlier:

Put the included timefunc.c into the source\time subdirectory of the RTL source tree. Follow the instructions given in the README in the source\rtl directory of your existing product for rebuilding the libraries.

If you would like to override the behaviors described above then you can add the following lines (after mktime() is a good place) to time.h in the standard include directory.

extern unsigned char _RTLENTRY _EXPDATA _PREFER_END_STANDARD_TIME;
extern unsigned char _RTLENTRY _EXPDATA _PREFER_START_DAYLIGHT_TIME;
#pragma obsolete _PREFER_END_STANDARD_TIME
#pragma obsolete _PREFER_START_DAYLIGHT_TIME

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03