Skip to content

File::Listing, sub "parse_dir": Fails if file/directory name starts with space-char [rt.cpan.org #47997] #6

@plicease

Description

@plicease

https://rt.cpan.org/Ticket/Display.html?id=47997

Library:  File::Listing
Sub:  parse_dir

The sub "parse_dir" doesn't parse names of files/directories correctly 
if they start with one or more space-chars. Using spaces at position 0 
is again some genius idea of a generic computer user, but it's still a 
bug in the parsing routine. :)
Cause the occurrence of this situation is rare I think, this bug isn't 
that important.


Original post of bug in perl-application "FTPSync":
https://sourceforge.net/tracker/?
func=detail&aid=797178&group_id=38241&atid=421898

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions