]> go.fuhry.dev Git - fsnotify.git/commit
Preserve watch flags when watching for delete
authorChris Howey <chris@howey.me>
Tue, 9 Oct 2012 03:37:09 +0000 (22:37 -0500)
committerChris Howey <chris@howey.me>
Tue, 9 Oct 2012 03:37:09 +0000 (22:37 -0500)
commitd10a689b54c0e287dea89f2d42f336ace88d858b
treea9d770d373a86468c839b019d5720837baa3c5ee
parent270e71adf2814cc87e8284d50859938d54640b90
Preserve watch flags when watching for delete

Fixes issue where adding a watch for a directory assumed that all
subdirectories can be watched for only delete. They should, but if they
are already watched we need to preserve the flags already set and add
delete watch.

Issue #21
fsnotify_bsd.go