cgit: [PATCH] timegm() compat for non-Linux and non-BSD

John Keeping john at keeping.me.uk
Tue Feb 23 10:38:04 CET 2016


On Tue, Feb 23, 2016 at 03:15:50AM +0100, Jason A. Donenfeld wrote:
> On Tue, Feb 23, 2016 at 3:15 AM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> > Subject: [PATCH] timegm() compat for non-Linux and non-BSD
> 
> What platform, specifically, do you have in mind?

I know that Solaris doesn't have timegm().

However, if we're going to do this I'd prefer to use the compat
infrastructure version I posted a few years ago [1].  I recall that
(although it's recommented in the man page) the TZ option does have some
problems compared to the approach in my version but I can't remember
what they are off the top of my head.

[1] http://lists.zx2c4.com/pipermail/cgit/2013-April/001109.html


More information about the CGit mailing list