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

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

Thread Previous | Thread Next
From:
Tony Cook via RT
Date:
April 26, 2018 05:04
Subject:
[perl #133030] blead File::Copy fails on netbsd 6.1.5
Message ID:
rt-4.0.24-1943-1524719088-507.133030-15-0@perl.org
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.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=133030

Thread Previous | Thread Next


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