diff options
author | A. Sinan Unur <sinan@unur.com> | 2022-07-28 10:21:10 +0200 |
---|---|---|
committer | xenu <me@xenu.pl> | 2022-08-02 02:20:10 +0200 |
commit | 414f14df98cb1c9a20f92c5c54948b67c09f072d (patch) | |
tree | e8aaeaaa580321dd607af8bfb7e845f539a0a539 /MANIFEST | |
parent | 2fcaad36c709e83c97f2f0995f00b46abcd4c24c (diff) | |
download | perl-414f14df98cb1c9a20f92c5c54948b67c09f072d.tar.gz |
File::Find: fix "follow => 1" on Windows
File::Find's code expects unix-style paths and it manipulates them using
basic string operations. That code is very fragile, and ideally we
should make it use File::Spec, but that would involve rewriting almost
the whole module.
Instead, we made it convert backslashes to slashes and handle drive
letters.
Note from xenu: this commit was adapted from the PR linked in this
blogpost[1]. I have squashed it, written the commit message and slightly
modified the code.
[1] - https://www.nu42.com/2021/09/canonical-paths-file-find-way-forward.html
Fixes #19995
Diffstat (limited to 'MANIFEST')
-rw-r--r-- | MANIFEST | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4265,6 +4265,7 @@ ext/File-DosGlob/DosGlob.xs Win32 DOS-globbing module ext/File-DosGlob/lib/File/DosGlob.pm Win32 DOS-globbing module ext/File-DosGlob/t/DosGlob.t See if File::DosGlob works ext/File-Find/lib/File/Find.pm Routines to do a find +ext/File-Find/t/correct-absolute-path-with-follow.t ext/File-Find/t/find.t See if File::Find works ext/File-Find/t/lib/Testing.pm Functions used in testing File-find ext/File-Find/t/taint.t See if File::Find works with taint |