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. -- MichielThread Previous