Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win: work around sharepoint scandir bug
It has been reported that for SharePoint connections mapped as a drive, uv_fs_scandir() returns "." and ".." entries when the expectation is that they should be filtered out. After some investigation it looks like the driver returns ".\0" and "..\0" for those entries, that is, it includes the zero byte in the filename length. Rewrite the filter to catch those entries as well. Fixes: nodejs/node#4002
- Loading branch information