[Mono-bugs] [Bug 401463] New: [WIN32] FileSystemWatcher: DefaultWatcher broken

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 18 15:27:05 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=401463


           Summary: [WIN32] FileSystemWatcher: DefaultWatcher broken
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


The DefaultWatcher - which is used on Win32 - is badly broken: it uses the
wrong default filter on Windows (* instead of *.*) - this could easily be fixed
- but more importantly, it manually checks for changes every 750 ms and by
doing this it loses a lot of events.

Also, it does not support the Renamed event.

I think we should be using wrapper for ReadDirectoryChangesW:
http://msdn.microsoft.com/en-us/library/aa365465(VS.85).aspx


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list