Re: [PATCH] Use find instead of perl in t5000 to get file modification time
- From
- Peter Harris <git@peter.is-a-geek.org>
- Date
- Oct 31, 2008, 12:59 UTC
- Message-ID
- <eaa105840810310559l29addd80i7a22c21e37231bb1@mail.gmail.com>
- In-Reply-To
- <20081031070003.GA4458@blimp.localdomain>
On Fri, Oct 31, 2008 at 3:00 AM, Alex Riesen wrote:
Show 10 quoted lines
> 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.
Quite aside from missing the point (which is that Vanilla Perl runs everywhere, including Windows[1]), this is also factually incorrect. A quick check of the ActiveState website would reveal ActivePerl downloads for AIX, Linux (x86 and x86-64), Solaris (x86, SPARC, and SPARC64), MacOSX (x86 and PPC), and source code, in addition to Windows.
Looks pretty portable to me.
Peter Harris
[1] http://vanillaperl.com/