STINNER Victor <vstin...@redhat.com> added the comment:

Miro Hrončok:
> I found a C reproducer and reported to Fedora glibc tracker: 
> https://bugzilla.redhat.com/show_bug.cgi?id=1653340

Nice, I wrote almost the same one :-) See attached mktime_bug.c:

$ gcc mktime_bug.c -o mktime_bug
$ ./mktime_bug 
TZ=CET: mktime() -> 1331506860, errno=0
TZ=UTC: mktime() -> 1331514060, errno=0

$ ./mktime_bug
TZ=CET: mktime() -> 1331506860, errno=0
TZ=UTC: mktime() -> -1, errno=75

----------
nosy:  -hroncok
Added file: https://bugs.python.org/file47947/mktime_bug.c

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35317>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to