|
From: | Paul Eggert |
Subject: | Re: doc: update for Solaris 11.4 |
Date: | Sun, 14 Oct 2018 19:58:03 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Bruno Haible wrote:
- They added 'timegm' and 'timelocal', but since gnulib does not have a unit test for them, I have no idea how buggy they are. Paul, do you have a unit test for these functions in some corner?
I'm afraid not, and it's low priority. timelocal is merely a nonstandard alias for mktime, and portable programs should use mktime. Although there is some use for timegm, the Gnulib-using code that I maintain calls the much more-general function mktime_z from the time_rz module, and if I had time to write tests I'd rather write them against mktime_z.
[Prev in Thread] | Current Thread | [Next in Thread] |