From fac3b68fff401d86ef292f3f67c5e330d3c94adb Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 25 Apr 2012 01:26:41 +0200 Subject: [PATCH] linux: add IN_MOVE_SELF to inotify event mask Partially fixes joyent/node#3172, behavior is now consistent with inotifywait. --- src/unix/linux/inotify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/linux/inotify.c b/src/unix/linux/inotify.c index 04147833b..24ddbcbce 100644 --- a/src/unix/linux/inotify.c +++ b/src/unix/linux/inotify.c @@ -185,6 +185,7 @@ int uv_fs_event_init(uv_loop_t* loop, | UV__IN_MODIFY | UV__IN_DELETE | UV__IN_DELETE_SELF + | UV__IN_MOVE_SELF | UV__IN_MOVED_FROM | UV__IN_MOVED_TO;