QNX Technical Articles
QNX® Momentics® Development Suite 6.2 or later; QNX® Neutrino® x86 Runtime Kit Changes to Daylight Saving Time Patch (Patch ID 518) Installation Note
Date of this edition: March 01, 2007
Target OS: QNX® Neutrino® 6.2 or later; QNX® Neutrino® x86 Runtime Kit
Host OS: Microsoft Windows XP, 2000, or NT SP6A; Sun Solaris 7, 8, 9, or 10; QNX® Neutrino® 6.2 or later; QNX® Neutrino® x86 Runtime Kit; Linux Red Hat 8 or 9, Red Hat Enterprise WS 3 or 4, Red Hat Fedora Core 3 or 4, Debian 3.1, or SUSE 10
![]() |
For information about the issues that this patch addresses,
see the release notes.
This patch supersedes the Changes to Daylight Saving Time Patch (Patch ID 494), which contained out-of-date information about the time zones in Manitoba and New Brunswick. |
If you have: | You should: |
---|---|
QNX Neutrino 6.2 or later; QNX Neutrino x86 Runtime Kit | Install this patch |
QNX Neutrino 6.0.x or 6.1.x | Manually update the /etc/timezone/uc_tz_t file |
Earlier than 6.0 | Manually update the TZ environment variable or _CS_TIMEZONE configuration string |
This note includes:
Installation procedure
- Log in as root (or with administrator privileges on Windows).
- Download the patch-620-0518-timezone.tar
archive to a directory where you'd like to save the archive.
On QNX Momentics 6.3, you should do this in the base directory of your QNX Momentics installation, which you can determine by opening a command shell and using the qconfig command. For example: $ qconfig QNX Installations Installation Name: QNX Momentics 6.3.0 Version: 6.3.0 Base Directory: /usr/qnx630/ QNX_HOST: /usr/qnx630/host/qnx6/x86/ QNX_TARGET: /usr/qnx630/target/qnx6/
The base directory in this example is /usr/qnx630/, but it could be different on your machine, depending on your host and where you installed QNX Momentics.
- Extract the archive you downloaded:
- Method 1: Command-line based
- Open a command prompt (e.g. cmd.exe on Windows) and
switch to the directory where you downloaded the archive, and then type:
tar -x -v -f patch-620-0518-timezone.tar
- Method 2: GUI based
- Use any GUI-based application that supports the TAR
format (e.g. WinZIP under Windows).
If you use WinZIP, choose , switch to the Miscellaneous tab in this dialog, and turn off the TAR file smart CR/LF conversion option. If this option is turned on, and you extract the archive, then your shiplist file will contain ^M characters.
Structure of the patch
The patch is installed in the patches/620-0518/ directory. This directory includes:
- version
- Includes the patch number and the build information.
- manifest
- Contains the checksums of the files shipped in the patch (as generated by the cksum utility).
- shiplist
- A list of the files included in the patch.
- uc_tz_t
- The new file that defines the time zones for phlocale.
Applying the patch
To apply the patch, you must replace the uc_tz_t file on your system with the patched file, and then run the phlocale utility to select and put into effect the updated timezone rules. Read the release notes for details.
![]() |
Since this is a destructive procedure, we recommend that you create a backup of the original file. |
The locations that you must patch depend on what you've installed:
- QNX Momentics 6.3
-
- /etc/timezone/uc_tz_t
- $QNX_TARGET/etc/timezone/uc_tz_t
- QNX Neutrino x86 Runtime Kit
-
- /etc/timezone/uc_tz_t
- QNX Momentics 6.2
On this OS: Update this location: QNX Neutrino /etc/timezone/uc_tz_t Windows C:\QNXsdk\target\qnx6\etc\timezone\uc_tz_t Solaris /opt/QNXsdk/target/qnx6/etc/timezone/uc_tz_t
Simply updating the uc_tz_t file will not fix your system until you put the changes into effect using phlocale. Read the release notes for information about the new time zones and how to apply them to your system.
Technical support
If you have any questions, comments, or problems with a QNX product, please contact Technical Support. For more information, see the How to Get Help chapter of the Welcome to QNX Momentics guide or visit our website, www.qnx.com.