Re: doc: Mention a gmtime_r problem

2024-09-03 Thread Bruno Haible
Eric Blake wrote: > But see https://austingroupbugs.net/view.php?id=1797#c6794; the Austin > Group is trying to work with the C committee to get this fixed in the > future (with Paul's help); among other things, it fixes gmtime() and > gmtime_r() to both have to set a value of either "GMT" or "UTC"

Re: doc: Mention a gmtime_r problem

2024-09-03 Thread Eric Blake
On Tue, Sep 03, 2024 at 11:34:27AM GMT, Bruno Haible wrote: > POSIX specifies that gmtime_r sets the tm_zone field to "UTC". (Interestingly, > no such requirement exists for gmtime.) But see https://austingroupbugs.net/view.php?id=1797#c6794; the Austin Group is trying to work with the C committee

doc: Mention a gmtime_r problem

2024-09-03 Thread Bruno Haible
POSIX specifies that gmtime_r sets the tm_zone field to "UTC". (Interestingly, no such requirement exists for gmtime.) The comments in tests/test-gmtime_r.c remind us that this is not always the case. 2024-09-03 Bruno Haible doc: Mention a gmtime_r problem. *