mono/mono — pull request #334 by robwilkens (2012-06-20 00:52:14+00:00)
Title: Bug 5747 Fix: KeventWatcher didn't return subdir names in filenames

Attached extracts the subdirectory by taking a substring of the full
filename path, starting at the length of the watcher watched path
(presuming it matches) plus 1 (to account for the "/" between path and
either subdir or filename).

This only should affect Mac OS -- See this line at top of KeventWatcher.cs:
// System.IO.KeventWatcher.cs: interface with osx kevent
Note the "osx" which is the mac operating system.

This was tested against the bug report source code on a Mac Mini With OSX Lion.