[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 08:41:14 +0200 |
Paul Eggert <address@hidden> wrote:
> Jim Meyering <address@hidden> writes:
>
>> What do you think about using a tzset wrapper/replacement
>> that does *not* clobber localtime's buffer on losing systems?
>
> I'd go along with that if it's possible, but I don't see how it'd be
> possible. The only way to not clobber localtime's buffer is to copy
> it before calling tzset. But the only way to find out the address of
> localtime's buffer is to call localtime -- which has the side effect
> of clobbering localtime's buffer.
Hi Paul,
gettimeofday had a similar problem.
The trick in that case, was to use a wrapper for
both localtime and gettimeofday.
Here, we'd use a wrapper for tzset and localtime.
The only nit is that on systems with the losing tzset,
we'll also compile (but not use) rpl_gettimeofday.
It's not worth worrying about, imho.
Jim
- Re: [Bug-gnulib] strftime merge from Emacs, (continued)
- Re: [Bug-gnulib] strftime merge from Emacs, Jim Meyering, 2003/06/05
- Re: [Bug-gnulib] strftime merge from Emacs, Paul Eggert, 2003/06/05
- Re: [Bug-gnulib] strftime merge from Emacs, Dave Love, 2003/06/05
- Re: [Bug-gnulib] strftime merge from Emacs, Jim Meyering, 2003/06/05
- Re: [Bug-gnulib] strftime merge from Emacs, Paul Eggert, 2003/06/05
- [Bug-gnulib] access to Solaris2.5 system? [Re: strftime merge from Emacs, Jim Meyering, 2003/06/06
- [Bug-gnulib] Re: access to Solaris2.5 system? [Re: strftime merge from Emacs, Paul Eggert, 2003/06/07
- Re: [Bug-gnulib] Re: access to Solaris2.5 system? [Re: strftime merge from Emacs, Jim Meyering, 2003/06/07
- Re: [Bug-gnulib] Re: access to Solaris2.5 system? [Re: strftime merge from Emacs, Paul Eggert, 2003/06/09
- Re: [Bug-gnulib] Re: access to Solaris2.5 system? [Re: strftime merge from Emacs,
Jim Meyering <=
- Re: [Bug-gnulib] Re: access to Solaris2.5 system? [Re: strftime merge from Emacs, Jim Meyering, 2003/06/09
- Re: [Bug-gnulib] Re: access to Solaris2.5 system? [Re: strftime merge from Emacs, Paul Eggert, 2003/06/09
- Re: [Bug-gnulib] Re: access to Solaris2.5 system? [Re: strftime merge from Emacs, Jim Meyering, 2003/06/09
- Re: [Bug-gnulib] Re: access to Solaris2.5 system? [Re: strftime merge from Emacs, Paul Eggert, 2003/06/09
- Re: [Bug-gnulib] Re: access to Solaris2.5 system? [Re: strftime merge from Emacs, Jim Meyering, 2003/06/09
- Re: [Bug-gnulib] strftime merge from Emacs, Dave Love, 2003/06/06
Re: [Bug-gnulib] strftime merge from Emacs, Karl Berry, 2003/06/04
Re: [Bug-gnulib] strftime merge from Emacs, Karl Berry, 2003/06/05