]> go.fuhry.dev Git - fsnotify.git/commit
macos: retry if open() returns EINTR (#475)
authorMartin Tournoij <martin@arp242.net>
Sat, 30 Jul 2022 10:54:27 +0000 (12:54 +0200)
committerGitHub <noreply@github.com>
Sat, 30 Jul 2022 10:54:27 +0000 (12:54 +0200)
commitca0e2f4e211d82ce6b3b9b69e30eefcd21ace21d
tree4004b766e55411adda411e6edd69f1ee767c2634
parentff39bb40e65869de272187542acd24241d4fb872
macos: retry if open() returns EINTR (#475)

Retry the unix.Open() if the error returned is EINTR; looking around the
web it seems many systems handle it like this. This is also what
os.Open() does:
https://github.com/golang/go/commit/50d0ee0c98ea21f818d2daa9bc21ef51861a2ef9

Fixes #354
kqueue.go