From e54943980fac6b79ef22a9149c049bce66b4000a Mon Sep 17 00:00:00 2001 From: Chris Howey Date: Wed, 28 Mar 2012 19:03:48 -0500 Subject: [PATCH] Windows Issue - No attribute change notifications --- README | 4 ++-- fsnotify_windows.go | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) 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 } -- 2.50.1