Skip to content

Conversation

@warpdesign
Copy link

If filenames started with a space (which is a valid name in Unix), these spaces would be removed from the returned listing, returning.

For example:

--rw-r-----   1 userName alternc       460 Aug 22 03:45  test1
--rw-r-----   1 userName alternc       560 Aug 22 03:47   test2

Would return two wrong names: "test1" and "test2" instead of " test1" and " test2".

I added a new test for this particular case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant