git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Use find instead of perl in t5000 to get file modification time

From
Alex Riesen <raa.lkml@gmail.com>
Date
Oct 31, 2008, 07:00 UTC
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:
Show 7 quoted lines
> 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.

Previous: Sam VilainNext: Peter Harris
Message 5 of 14 in “Use find instead of perl in t5000 to get file modification time”
  1. Use find instead of perl in t5000 to get file modification timeAlex Riesen, Oct 29, 2008
  2. Jeff KingOct 29, 2008
  3. Alex RiesenOct 30, 2008
  4. Sam VilainOct 30, 2008
  5. Alex RiesenOct 31, 2008
  6. Peter HarrisOct 31, 2008
  7. Alex RiesenOct 31, 2008
  8. Johannes SchindelinOct 31, 2008
  9. Alex RiesenOct 31, 2008
  10. Johannes SchindelinNov 1, 2008
  11. Alex RiesenNov 1, 2008
  12. Johannes SchindelinNov 1, 2008
  13. Alex RiesenNov 2, 2008
  14. Johannes SchindelinNov 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.