From: Alex Riesen Date: Fri, 31 Oct 2008 07:00:03 GMT Subject: Re: [PATCH] Use find instead of perl in t5000 to get file modification time Message-ID: <20081031070003.GA4458@blimp.localdomain> In-Reply-To: <1225344554.10803.17.camel@maia.lan> Sam Vilain, Thu, Oct 30, 2008 06:29:14 +0100: > On Wed, 2008-10-29 at 11:38 +0100, Alex Riesen wrote: > > I could not find what exactly does the ActiveState's Perl use for its stat > > implementation (and honestly, have no motivation to look harder). > > It seems to honor TZ, but the produced time does not seem to be either > > local or GMT. > > See, the difference is that the perl is portable and your patch isn't. ActiveState Perl on Windows is portable? To another windows, maybe. > Can you at least reveal how far out the value printed by the perl > fragment was from the expected value, and what your TZ offset is in > seconds. It might be pointing to a deeper problem that could affect > more than just this test case. I tried TZ set to CET (my zone), GMT, and UTC. The difference was from 1200 sec to 3600.