[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] Re: access to Solaris2.5 system? [Re: strftime merge f

From: Jim Meyering
Subject: Re: [Bug-gnulib] Re: access to Solaris2.5 system? [Re: strftime merge from Emacs
Date: Mon, 09 Jun 2003 22:54:58 +0200

Paul Eggert <address@hidden> wrote:
> Jim Meyering <address@hidden> writes:
>> Paul Eggert <address@hidden> wrote:
>> > Don't we still have the problem the first time that rpl_tzset is
>> > called?  rpl_tzset still clobbers the localtime buffer in that case.
>> Yes, but who could be using it if no one has called localtime yet?
> OK, I see now -- you wrap localtime too.  Sorry about the confusion.
> However, gmtime and localtime share the same buffer (at least on
> systems that conform to the C Standard), and a user program that
> invokes strftime on the output of gmtime will run into the same
> problem.  So for completeness I guess you need to wrap gmtime as well.

Good point.
I've done that, too.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]