Please sign in to comment.
windows: don't inhibit reparse behavior when non-symlink is encountered
This fixes the issue that a mount point would be treated as a symlink, but readlink would subsequently return an NT namespaced path that is unusable for many purposes. This also pre-emptively fixes the problems that would arise when an user has a reparse point whose tag is neither IO_REPARSE_TAG_MOUNT_POINT nor IO_REPARSE_TAG_SYMLINK. Finally uv_lstat() will now return the correct length in st_size. Previously the length was computed incorrectly for relative symlinks, and those that had non-ascii characters in their target.
- Loading branch information...
Showing with 168 additions and 146 deletions.
Oops, something went wrong.