mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
More reliable handling of file moves in fsnotifier (Linux)
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user