]> go.fuhry.dev Git - fsnotify.git/commit
windows: replace syscall with golang.org/x/sys/windows
authorMartin Tournoij <martin@arp242.net>
Thu, 4 Aug 2022 00:38:52 +0000 (02:38 +0200)
committerMartin Tournoij <martin@arp242.net>
Thu, 4 Aug 2022 01:26:18 +0000 (03:26 +0200)
commit5dcbfbaa3470fd97123b6901a87d748718ae43ea
tree58a8bde53e2f4a5aaeab66944e698e7963901a7a
parent1f8edaf0208290a247482e72e4b1b1421aeaa10e
windows: replace syscall with golang.org/x/sys/windows

Specifically to address #364; syscall.GetQueuedCompletionStatus()
contains a bug that can't be fixed in a backwards-compatible way, so
they didn't. Once you use sys/windows for one thing, you gotta use it
for everything.

I ran the tests with -count=100 locally, and it all seems fine.

Fixes #364
windows.go