Fix crash on Windows when crawling (#10385)
* readDirN: Check if file is directory
`syscall.FindNextFile` crashes if the handle is a file.
`errFileNotFound` matches 'unix' functionality: d19b434ffc/cmd/os-readdir_unix.go (L106)
Fixes #10384
master
parent
4b6585d249
commit
1c085f7d1a
Loading…
Reference in new issue