On Wed, Sep 24, 2025 at 12:57:49PM -0700, Paul Eggert via tz wrote:
> On 2025-09-24 10:14, Robert Elz wrote:
> >      Date:        Wed, 24 Sep 2025 07:39:27 -0700
> >      From:        Paul Eggert <[email protected]>
> >    | This wording is
> >    | intended to require the 7th Edition Unix behavior, where calling any of
> >    | localtime, gmtime, and ctime overwrote the same struct tm object.
> > 
> > No it isn't, it is meant to allow that behaviour - no-one with even an
> > iota of sanity would require things to be implemented that way.
> 
> If only you could go back to the 1980s and whisper that into Douglas Gwyn's
> ears!

If I could go back and whisper in his ears I would whisper that the output
buffer should be passed as an argument, that way the _r versions wouldn't be
needed and this whole issue would evaporate.

/MF

Reply via email to