develooper Front page | perl.perl5.porters | Postings from September 2016

Re: Perl on Bash on Ubuntu on Windows - installation issues

Thread Previous
From:
Michiel Beijen
Date:
September 24, 2016 14:57
Subject:
Re: Perl on Bash on Ubuntu on Windows - installation issues
Message ID:
CABD0r13cJKGv=RyTL4sSsiz4TZvJYyOoHbL=rr3EOYZ7Y9L8Fg@mail.gmail.com
On Sat, Sep 24, 2016 at 12:09 AM, Zefram <zefram@fysh.org> wrote:

> Preferably yes, File::Find should handle it automatically.  But it's not
> really a per-platform question, it's per-filesystem, like case sensitivity
> of filenames.  Anything we do statically at build time will suffer both
> false positives and false negatives.  Really the reliability of the
> nlink==2 trick ought to be advertised through pathconf(2), but it isn't.
> In the absence of that, there are still some ways we could autodetect it.
> statfs(2) on Linux advertises a `filesystem type', and we could use that
> to determine whether nlink is reliable for known types.

Thanks for all the information!
I just filed https://rt.perl.org/Public/Bug/Display.html?id=129348 for
this issue.

--
Michiel

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