develooper Front page | perl.perl5.porters | Postings from January 2019

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

Thread Next
Tony Cook via RT
January 1, 2019 22:36
[perl #133030] blead File::Copy fails on netbsd 6.1.5
Message ID:
On Sun, 15 Apr 2018 17:55:04 -0700, tonyc wrote:
> This doesn't try to work around OS X's special behaviour.

I tried adding sub-second times for OS X 10.13, but apparently it doesn't support it.

For a file stored on a Linux system, accessible via CIFS (Samba):

Directly on Linux:

$ perl -MTime::HiRes=stat -le 'print +(stat shift)[9]' ~/test.txt

On cygwin:

$ perl -MTime::HiRes=stat -le 'print +(stat shift)[9]' /cygdrive/n/test.txt

On Darwin:

pallas:t tony$ ./perl -I../lib -MTime::Hires=stat -le 'print +(stat shift)[9]' /Volumes/tony/test.txt

The local filesystem (HFS+) doesn't support sub-second timestamps.

> Unrelated to this particular bug - there's also Win32 functions to
> accessing and updating file times to sub-second precision, which I
> might add at some point.

This still something to do.


via perlbug:  queue: perl5 status: open

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About