[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] strftime merge from Emacs
From: |
Paul Eggert |
Subject: |
Re: [Bug-gnulib] strftime merge from Emacs |
Date: |
05 Jun 2003 10:36:32 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Jim Meyering <address@hidden> writes:
> At worst, (assuming this is solaris-specific) change this code
> to be used only on __sun__ systems.
I'm a bit leery of that, as I suspect that the bug came from SVR4.
> At best, someone will write an autoconf-run-test to detect the
> real problem. Does anyone have details of how tzset misbehaves?
The bug is that you can't do something like this:
tm = localtime (&t);
tzset ();
year = tm->tm_year; etc.
because tzset modifies *tm.
Sorry, I still don't see why we need to add a "!defined(WINDOWSNT)"
here. That is, I don't see why the code doesn't work correctly on
Windows NT without the change. There is a slight performance penalty,
but it's not worth worrying about. Perhaps the real problem is that
some Windows port defines HAVE_TZNAME when it shouldn't?
- [Bug-gnulib] strftime merge from Emacs, Dave Love, 2003/06/04
- 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 <=
- [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, 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] 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