Branch: Tag:

2016-02-08

2016-02-08 15:32:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor [Inotify]: Improved support for symlinked directories.

Directories reached via symlinks need to be monitored too...

991: Inside #if undefined(INHIBIT_INOTIFY_MONITOR)
   }    }    -  Stdio.Stat st = file_stat (path, 1); +  // NB: We need to follow symlinks here. +  Stdio.Stat st = file_stat(path);    mixed err;    if (!(flags & MF_AUTO) || (st && st->isdir)) {    // Note: We only want to add watchers on directories. File