This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients akira, belopolsky
Date 2015-08-31.14:07:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441030021.14.0.0779421103511.issue22798@psf.upfronthosting.co.za>
In-reply-to
Content
> You should have run the attached test_mktime_changes_tzname.c ...

I did run it and tried several times to understand what it does.  It did not help.

If you claim that calling mktime() changes the value of the global tzname variable, you should be able to demonstrate it in five lines of code:

extern char **tzname;
tzset();
printf("%s %s\n", tzname[0], tzname[1]);
mktime(&tt);
printf("%s %s\n", tzname[0], tzname[1]);

(plus a few lines to initialize tt)


If the code above prints two different lines - file a bug report with your C library vendor.
History
Date User Action Args
2015-08-31 14:07:01belopolskysetrecipients: + belopolsky, akira
2015-08-31 14:07:01belopolskysetmessageid: <1441030021.14.0.0779421103511.issue22798@psf.upfronthosting.co.za>
2015-08-31 14:07:01belopolskylinkissue22798 messages
2015-08-31 14:07:00belopolskycreate