Issue 48 in y2038: Test that localtime64, ctime64 and mktime64 honor TZ and set external variables

10 views
Skip to first unread message

codesite...@google.com

unread,
Mar 28, 2010, 2:38:15 AM3/28/10
to y2038...@googlegroups.com
Status: Accepted
Owner: schwern
Labels: Type-Test Priority-Medium Milestone-POSIX

New issue 48 by schwern: Test that localtime64, ctime64 and mktime64 honor
TZ and set external variables
http://code.google.com/p/y2038/issues/detail?id=48

POSIX sez that localtime, ctime and mktime should all act as if they called
tzset.
http://www.opengroup.org/onlinepubs/000095399/functions/tzset.html

This means the external variables daylight, tzname and daylight should be
set and it should honor any changes to TZ.

This was discovered not to be so, they were hastily patched. Time::y2038
tests that its localtime() honors TZ but doesn't test any of the rest.

Write tests for localtime64, ctime64 and mktime64 to check that they honor
TZ changes and set external variables.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Mar 28, 2010, 2:42:16 AM3/28/10
to y2038...@googlegroups.com
Updates:
Owner: ---

Comment #1 on issue 48 by schwern: Test that localtime64, ctime64 and

mktime64 honor TZ and set external variables
http://code.google.com/p/y2038/issues/detail?id=48

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages