Comment 11 for bug 1567096

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-04-29 10:15 EDT-------
Hi, here's a very simple testcase to verify that the EpollEvent structure is correct in the src/syscall directory:

package main

import "fmt"
import "syscall"
import "reflect"

func main() {
var ee syscall.EpollEvent
fmt.Printf("EpollEvent fields (should be 4): %d\n", reflect.ValueOf(ee).NumField())
}

As far as the fsnotify tests working, sometime after I submitted my fix there have been changes in fsnotify to use golang.org/x/sys/unix instead of the stdlib syscall package, so I'm not sure if that is affecting your results or not. A fix for EpollEvent for that directory has been submitted.