More reliable handling of file moves in fsnotifier (Linux)

This commit is contained in:
Roman Shevchenko
2010-12-29 21:38:02 +03:00
parent c79e2cea2a
commit 6f4e164465
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -366,7 +366,7 @@ static bool unwatchable_mounts(array* mounts) {
static void inotify_callback(char* path, int event) {
if (event & IN_CREATE || event & IN_MOVED_TO) {
output("CREATE\n%s\n", path);
output("CREATE\n%s\nCHANGE\n%s\n", path, path);
userlog(LOG_DEBUG, "CREATE: %s", path);
return;
}