Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4380242

Browse files
committed
Modified test for tzset to not rely on tm->tm_zone's existence. Also added
sanity checks on tzname if HAVE_TZNAME defined. Closes bug #1096244. Thanks Gregory Bond.
1 parent 64d904b commit 4380242

4 files changed

Lines changed: 677 additions & 220 deletions

File tree

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Finn Bock
6666
Paul Boddie
6767
Matthew Boedicker
6868
David Bolen
69+
Gregory Bond
6970
Jurjen Bos
7071
Peter Bosch
7172
Eric Bouck

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ Build
161161
``-L/opt/local/lib`` for DarwinPorts) and CPPFLAGS (``-I/sw/include`` for
162162
Fink, ``-I/opt/local/include`` for DarwinPorts).
163163

164+
- Test in configure.in that checks for tzset no longer dependent on tm->tm_zone
165+
to exist in the struct (not required by either ISO C nor the UNIX 2 spec).
166+
Tests for sanity in tzname when HAVE_TZNAME defined were also defined.
167+
Closes bug #1096244. Thanks Gregory Bond.
168+
164169

165170
C API
166171
-----

0 commit comments

Comments
 (0)