Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
os: small-count Readdirnames followed by seek-to-zero can lead to duplicate names #37161
What version of Go are you using (
Thank you for reporting this issue @chris3torek and welcome to the Go project!
So this looks quite similar to bug #35767 that involved cached results on Darwin and that @randall77 fixed with CL https://go-review.googlesource.com/c/go/+/209961 for Go1.14.
go get golang.org/dl/go1.14rc1 && go1.14rc1 run main.go
b) Kindly putting this on @randall77's radar as perhaps we might need to implement the previous polyfill for
func (f *File) seekInvalidate()
on non-GOOS=darwin and non-GOOS=js systems.