[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: new module: time_r; plus fixes for timegm, mktime, strf
From: |
Simon Josefsson |
Subject: |
[Bug-gnulib] Re: new module: time_r; plus fixes for timegm, mktime, strftime |
Date: |
Sat, 06 Sep 2003 12:49:55 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Paul Eggert <address@hidden> writes:
> Simon Josefsson <address@hidden> writes:
>
>> Thanks for looking into it!
>
> You're welcome. Here's a proposed patch to implement what I described
> earlier. It adds a new module, time_r, to implement replacements for
> localtime_r, gmtime_r, etc. on hosts that don't have them, or that
> have functions that are incompatible with the POSIX signature.
>
> I've tested the resulting timegm function on a wide variety of
> timestamps, including extremal ones, on various versions of Solaris
> and GNU/Linux. There are also some cleanups for mktime and strftime,
> since they can use localtime_r/gmtime_r if available. I haven't
> tested these cleanups yet, but will before installing this.
I had some troubles applying the patch, but when it is installed I can
test it too on a few platforms. Thanks!
- Re: [Bug-gnulib] new module: timegm, Bruno Haible, 2003/09/01
- Re: [Bug-gnulib] new module: timegm, Simon Josefsson, 2003/09/01
- Re: [Bug-gnulib] new module: timegm, Simon Josefsson, 2003/09/01
- Re: [Bug-gnulib] new module: timegm, Bruno Haible, 2003/09/01
- Re: [Bug-gnulib] new module: timegm, Simon Josefsson, 2003/09/01
- Re: [Bug-gnulib] new module: timegm, Paul Eggert, 2003/09/03
- Re: [Bug-gnulib] new module: timegm, Simon Josefsson, 2003/09/03
- Re: [Bug-gnulib] new module: timegm, Paul Eggert, 2003/09/04
- Re: [Bug-gnulib] new module: timegm, Simon Josefsson, 2003/09/04
- [Bug-gnulib] new module: time_r; plus fixes for timegm, mktime, strftime, Paul Eggert, 2003/09/06
- [Bug-gnulib] Re: new module: time_r; plus fixes for timegm, mktime, strftime,
Simon Josefsson <=
- [Bug-gnulib] Re: new module: time_r; plus fixes for timegm, mktime, strftime, Paul Eggert, 2003/09/06
- [Bug-gnulib] Re: new module: time_r; plus fixes for timegm, mktime, strftime, Simon Josefsson, 2003/09/06
- [Bug-gnulib] Re: new module: time_r; plus fixes for timegm, mktime, strftime, Simon Josefsson, 2003/09/06
- [Bug-gnulib] Re: new module: time_r; plus fixes for timegm, mktime, strftime, Paul Eggert, 2003/09/07