bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2)


From: arnold
Subject: Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2)
Date: Wed, 12 Dec 2018 01:59:46 -0700
User-agent: Heirloom mailx 12.5 7/5/10

address@hidden wrote:

> The code itself
> should be adjusted to also check for mktime_gz, something like:
>
>       time_t timegm(struct tm *tm)
>       {
>       #ifdef HAVE_MKTIME_GZ
>               // code here
>       #else
>       #error "neither timegm nor mktime_gz avaliable. sorry"
>       #endif
>       }

Ooops.

I see now that mktime_tz is my own invention. So it'd be better to
move that code into missing_d/timegm.c as the body of timegm.

Thanks,

Arnold



reply via email to

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