go/internal/fastwalk
Ichinose Shogo 0150491f5f x/tools/internal/fastwalk: fixes "interrupted system call" error
According to https://golang.org/doc/go1.14#runtime
A consequence of the implementation of preemption is that on Unix systems, including Linux and macOS
systems, programs built with Go 1.14 will receive more signals than programs built with earlier releases.

This causes syscall.Open and syscall.ReadDirent sometimes fail with EINTR errors.
We need to retry in this case.

Fixes golang/go#44478

Change-Id: I0b0291471e47e8682fac791e1ed024b5a42a56f8
Reviewed-on: https://go-review.googlesource.com/c/tools/+/294730
Reviewed-by: Heschi Kreinick <heschi@google.com>
Trust: Heschi Kreinick <heschi@google.com>
Trust: Peter Weinberger <pjw@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
2021-02-24 01:32:32 +00:00
..
fastwalk.go all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
fastwalk_dirent_fileno.go all: go fmt ./... 2021-02-20 03:28:52 +00:00
fastwalk_dirent_ino.go all: go fmt ./... 2021-02-20 03:28:52 +00:00
fastwalk_dirent_namlen_bsd.go all: go fmt ./... 2021-02-20 03:28:52 +00:00
fastwalk_dirent_namlen_linux.go all: go fmt ./... 2021-02-20 03:28:52 +00:00
fastwalk_portable.go all: go fmt ./... 2021-02-20 03:28:52 +00:00
fastwalk_test.go internal/fastwalk: attempt Symlink tests on Windows 2020-05-21 21:19:27 +00:00
fastwalk_unix.go x/tools/internal/fastwalk: fixes "interrupted system call" error 2021-02-24 01:32:32 +00:00