Repository navigation
global: switch to x/sys/unix - #135
suihkulokki wants to merge 1 commit into
Conversation
|
Hi, I don't know why the darwin case failed on travis. It appears syscall and x/sys are quite identical in this front. |
|
Thanks. It would've been a bit easier to use an alias for the import It looks like the CI failure on darwin as something flaky. Adding a dependency could break people's builds, so we'll need to release this carefully. |
|
@anthonyfok offered to do some additional testing in #112. I think we should release this as v1.3.0 by the end of April. I'm thinking of pre-announcing the release to golang-nuts, since it does require a new dependency. |
|
I also left a note in the #fsnotify channel on Slack. |
| done chan bool // Channel for sending a "quit message" to the reader goroutine | ||
|
|
||
| kq int // File descriptor (as returned by the kqueue() syscall). | ||
| kq int // File descriptor (as returned by the kqueue() unix.. |
There was a problem hiding this comment.
One too many "syscall" string is changed to "unix" here in this comment? 😁
The syscall package is locked since 1.4[1], all new changes are in x/sys[2] The fixes for epoll/arm64 are going to be loaded to x/sys/unix. This commit is straightforward search/replace with a couple of hand edits. This is needed for fixing fsnotify#130 [1] https://golang.org/s/go1.4-syscall [2] https://godoc.org/golang.org/x/sys/unix
|
Updated patch with the comment fixes, one noticed by @anthonyfok thanks. There was another spurious syscall -> unix change + one comment line had become unaligned afterwards. |
|
Thank you for updating the patch so quickly, @suihkulokki! I am happy to report that your patch works wonder! Cc: @nathany |
|
merged. thanks |
The syscall package is locked since 1.4[1], all new changes are in x/sys[2]
The fixes for epoll/arm64 are going to be loaded to x/sys/unix. This
commit is straightforward search/replace with a couple of hand edits.
This is needed for fixing #130
[1] https://golang.org/s/go1.4-syscall
[2] https://godoc.org/golang.org/x/sys/unix