Skip to content

Unable to read files with long paths on Windows using list-file #704

@RyanMcC

Description

@RyanMcC

Using the latest cloc 1.96 windows binary release, I'm still having trouble with long paths.

I'm using a list-file and have --no-recurse set, which is working in bypassing File::Find and the long-path problems associated with it. But I still get Unable to read errors for files with > 255 char paths.

It runs fine when I test it with the script instead though. I have Strawberry Perl v5.32.1, all the dependencies listed in the readme, and Win32::LongPath installed. Is the problem that Win32::LongPath isn't being shipped with the binary, so it's just falling back on the built-in file operators? If so, would it be possible to add it to the binary release?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions