[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: |
Andrew J. Schorr |
Subject: |
Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2) |
Date: |
Wed, 12 Dec 2018 09:35:04 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Dec 12, 2018 at 09:14:39AM -0500, Andrew J. Schorr wrote:
> I guess you were thinking that a more general function could be useful.
> Do you now think it's OK simply to implement timegm rather than
> a more general mktime_tz function? The linux timegm man page
> shows:
> setenv("TZ", "", 1);
> whereas your code does:
> setenv("TZ", tzreq, 1);
> and `tzreq' is set to "UTC+0". Do you want to continue to support
> the more general case (which would explain why it's not in missing_d),
> and if not, what's more portable for setting TZ: "" or "UTC+0"?
Patch attached. Is this what you want?
Regards,
Andy
timegm_missing.patch
Description: Text document
timegm.c
Description: Text document
- [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2), Thorsten Kampe, 2018/12/11
- Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2), arnold, 2018/12/11
- Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2), Andrew J. Schorr, 2018/12/11
- Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2), Andrew J. Schorr, 2018/12/11
- Message not available
- Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2), Andrew J. Schorr, 2018/12/11
- Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2), arnold, 2018/12/12
- Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2), arnold, 2018/12/12
- Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2), Andrew J. Schorr, 2018/12/12
- Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2),
Andrew J. Schorr <=
- Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2), arnold, 2018/12/12
- Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2), Andrew J. Schorr, 2018/12/12
- Re: [bug-gawk] mktime UTC extremely slow (new in GAWK 4.2), arnold, 2018/12/12