Ticket #14543 (closed defect: fixed)
wxFileSystemWatcher: Fix watching directories that contain symlinks
| Reported by: | dghart | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9.5 |
| Component: | base | Version: | 2.9-svn |
| Keywords: | wxFileSystemWatcher symlink | Cc: | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
This patch, together with the wxFileName and wxDir changes of #14542, makes it possible to add a watch on a dir that contains symlinks, without wxFileSystemWatcher asserting that items are being added twice. I've added a new flag, wxFSW_EVENT_DONT_FOLLOW, to the Add() filter. This is not part of wxFSW_EVENT_ALL, so the current default behaviour is unchanged.
I've added a menuitem to the 'fswatcher' sample optionally to set this, and a section to the FileSystemWatcherTestCase.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

