From: Chris Howey Date: Thu, 29 Mar 2012 00:03:48 +0000 (-0500) Subject: Windows Issue - No attribute change notifications X-Git-Tag: v1.7.2~444 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=e54943980fac6b79ef22a9149c049bce66b4000a;p=fsnotify.git Windows Issue - No attribute change notifications --- diff --git a/README b/README index b55ac48..c27a19d 100644 --- a/README +++ b/README @@ -18,5 +18,5 @@ Example: } } -TODO: -Get Windows to pass same tests as BSD and Linux +Issues: +Windows does not seem to have an attribute change notification diff --git a/fsnotify_windows.go b/fsnotify_windows.go index 86bc6f4..e2baca3 100644 --- a/fsnotify_windows.go +++ b/fsnotify_windows.go @@ -409,8 +409,7 @@ func (w *Watcher) readEvents() { var offset uint32 for { if n == 0 { - // WTF is this?? - //w.Event <- &Event{Mask: FS_Q_OVERFLOW} + w.Event <- &Event{mask: FS_Q_OVERFLOW} w.Error <- errors.New("short read in readEvents()") break }