time_rz: work around Mac OS X 10.6 infloop
commit96caee5e9a16b172611c6ead9df0ab39cb7acfa6
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Mar 2018 02:23:33 +0000 (26 19:23 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Mar 2018 20:23:16 +0000 (27 13:23 -0700)
treef8a99595f3b73c50bfa8d1444a5b29f0cb4d4d91
parent8326a2e524119decf07d07a072a6c15bebefef0e
time_rz: work around Mac OS X 10.6 infloop

* doc/posix-functions/localtime.texi:
* doc/posix-functions/localtime_r.texi: Mention the bug.
* lib/time_rz.c (localtime_rz): Work around the bug.  It’d be
better to fix localtime and localtime_r instead, but that would be
more work and is not needed to fix the Emacs problem.
* m4/time_rz.m4 (gl_TIME_RZ): Detect the bug.
ChangeLog
doc/posix-functions/localtime.texi
doc/posix-functions/localtime_r.texi
lib/time_rz.c
m4/time_rz.m4