develooper Front page | perl.perl5.porters | Postings from April 2018

Re: [perl #133030] blead File::Copy fails on netbsd 6.1.5

Thread Previous
From:
Sawyer X
Date:
April 27, 2018 21:08
Subject:
Re: [perl #133030] blead File::Copy fails on netbsd 6.1.5
Message ID:
31676d30-4dbb-9d90-c3f5-f14408299da8@gmail.com


On 04/26/2018 08:04 AM, Tony Cook via RT wrote:
> On Wed, 25 Apr 2018 03:42:35 -0700, davem wrote:
>> On Sun, Apr 15, 2018 at 05:55:05PM -0700, Tony Cook via RT wrote:
>>> The problem is Time::HiRes exports its utime() replacement if only
>>> one of two functions that depends on is available.
>>>
>>> So if you import utime() successfully, the underlying function you
>>> need might not be available.
>>>
>>> The first of the attached patches makes utime() available only if
>>> both are defined.  I think this is suitable for 5.28, and prevents
>>> the test failure.  It however means File::Copy will no longer
>>> preserve sub-second modification times when utime() by name is
>>> unavailable.
>> +1 for applying this for 5.28.
> Done as 5dbe8f0a915c25666dd9c760775f619c34a51538.

+1

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About