Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle
GetFileInformationByHandleEx
returning a long filename.
In #18 there is a report that under some situations `GetFileInformationByHandleEx` can produce a file name with a length that extends beyond the end of the buffer. Check for this case and return false if it is. Also, backport the change from std to only search the file name for "msys-" and "cygwin-", rather than the whole path.
- Loading branch information