Re: gmtime_r/localtime_r hang in macOS 10.6

2017-07-30 Thread Charles A. Roelli
Thank you. I've used the attached program to find the exact range of bad values: -67768038400752000 to -67768038400665600 (low to high) (decode-time -67768038400752001) ; (- low 1) (59 59 23 31 12 -2147481679 6 nil 0) (decode-time -67768038400665599) ; (+ high 1) (1 0 0 1 1 -2147481678 1 nil 0

Re: gmtime_r/localtime_r hang in macOS 10.6

2017-07-30 Thread Paul Eggert
Charles A. Roelli wrote: Could we put a workaround for these "bad" values of time_t in gnulib for this version of macOS? Yes, we could. I started to write that, but it wasn't trivial. Eventually I hope to get around to it.