Re: localtime-buffer: Avoid endless recursion in localtime and gmtime

2018-12-13 Thread Jim Meyering
On Thu, Dec 13, 2018 at 3:12 AM Bruno Haible wrote: > When running the gnulib unit tests in sed-4.5.48-58eb on Cygwin, I see > a crash of the test-gettimeofday.exe program. It is caused by endless > recursion: rpl_localtime and rpl_gmtime are compiled into endless > recursions. > > You don't see t

localtime-buffer: Avoid endless recursion in localtime and gmtime

2018-12-13 Thread Bruno Haible
bug in gnulib. The bug in Autoconf is separate. 2018-12-13 Bruno Haible localtime-buffer: Avoid endless recursion in localtime and gmtime. * lib/localtime-buffer.c: Undefine localtime and gmtime before use. diff --git a/lib/localtime-buffer.c b/lib/localtime-buffer.c inde