> From: Paul Eggert
> Organization: UCLA Computer Science Department
> Date: Wed, 28 Mar 2018 14:29:38 -0700
>
> On 03/28/2018 11:54 AM, Charles A. Roelli wrote:
> >
> > -time_t t = -67768038400665600;
> > +time_t t = -6776803840000;
1 nil 0)
On 30/07/2017 17:36, Paul Eggert wrote:
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.
The attached test program (time_test.c) enters an infinite loop when
run under macOS 10.6.
(compiled with: gcc -g3 time_test.c -o time_test.bin
run with: ./time_test.bin)
The localtime_r call has this backtrace:
(gdb) bt
#0 0x7fff83860ad3 in timesub () from /usr/lib/libSystem.B.dylib
#1