• Victor Stinner's avatar
    Fix _PyTime_AsTimevalStruct_impl() on OpenBSD · b7a8af20
    Victor Stinner yazdı
    On the x86 OpenBSD 5.8 buildbot, the integer overflow check is ignored. Copy
    the tv_sec variable into a Py_time_t variable instead of "simply" casting it to
    Py_time_t, to fix the integer overflow check.
    b7a8af20
pytime.c 18.3 KB