From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Tue, 23 Feb 2016 09:38:04 +0000 Subject: cgit: [PATCH] timegm() compat for non-Linux and non-BSD In-Reply-To: References: Message-ID: <20160223093804.GE1766@serenity.lan> 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 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