[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60952] NSTimeZone fail to deal with tzfile v2+
From: |
Emmanuel Dreyfus |
Subject: |
[bug #60952] NSTimeZone fail to deal with tzfile v2+ |
Date: |
Sat, 24 Jul 2021 20:45:37 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #6, bug #60952 (project gnustep):
[comment #1 comment #1:]
> The new code is now in the git repository; please give it a try and update
this issue to let me know how you got on with it.
Not yes tested, but I note this bug:
version = header->tzh_version[0];
Now version is either '\0' (for version 1), '2' or '3'
if (1 == version)
That will always be false.
If you want version to be the version as an int, you could write:
version = header->tzh_version[0] ? header->tzh_version[0] - 0x30 : 1;
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60952>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, anonymous, 2021/07/21
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/22
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Emmanuel Dreyfus, 2021/07/22
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Emmanuel Dreyfus, 2021/07/22
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/23
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Emmanuel Dreyfus, 2021/07/23
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/24
- [bug #60952] NSTimeZone fail to deal with tzfile v2+,
Emmanuel Dreyfus <=
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Emmanuel Dreyfus, 2021/07/24
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/25
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/25
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Emmanuel Dreyfus, 2021/07/29
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/30