 |
Monday, February 25, 2002 |
 |
|
Bugs in OS 4's Time Zone APIs
Over the weekend, a bug that affects Palm OS 4.0 and 4.1 surfaced. The two API calls, TimTimeZoneToUTC and TimUTCToTimeZone, have a flaw in their implementation that affects conversions when the time zone value is more than 9 hours off from UTC. It is a Int16 overflow bug that wasn't detected when the routine was coded.
If you need to use these functions, it would be best to just do your own implementation. If you have access to the Palm OS source code, its easy to code your own. Internally, they just do a computation, a mulitply and few additions or subtractions.
Update 1 Reappears
Palm OS SDK 4.0 update 1 reappeared on the PalmOS.com site this weekend. The post-linker in this release seems to be the same one that was posted before, so I'd advise that you install this patch manually, keeping the post-linker from SDK 4.0, but applying everything else.
|
|
| February 2002 |
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
1 |
2 |
| 3 |
4 |
5 |
6 |
7 |
8 |
9 |
| 10 |
11 |
12 |
13 |
14 |
15 |
16 |
| 17 |
18 |
19 |
20 |
21 |
22 |
23 |
| 24 |
25 |
26 |
27 |
28 |
|
|