]> go.fuhry.dev Git - fsnotify.git/commit
kqueue: remove calls to os.NewSyscallError
authorNathan Youngman <git@nathany.com>
Wed, 24 Sep 2014 18:56:27 +0000 (12:56 -0600)
committerNathan Youngman <git@nathany.com>
Wed, 24 Sep 2014 21:34:04 +0000 (15:34 -0600)
commit719fef588d53f4ccdf94803732cc34a6097ce1b7
tree9dfe6e12e8d729c8dda88a414559773784d9f0c0
parent3de491f6035a91bf64f7cdd7daf725ea2e4135b5
kqueue: remove calls to os.NewSyscallError

calling os.NewSyscallError would silently break comparisons with the syscall constants. it didn't really add much value either, besides the "Kevent" prefix.

http://play.golang.org/p/YKbmygNDu4
kqueue.go