From 8a4aa226772ecd4a2daec40d3806c03f001d2619 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Thu, 31 Oct 2013 01:08:14 +0400 Subject: [PATCH] include: UV_FS_EVENT_RECURSIVE is a flag It should not be the same as: `UV_FS_EVENT_WATCH_ENTRY | UV_FS_EVENT_STAT` Because we never meant that, and that's not how it works. --- include/uv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uv.h b/include/uv.h index 5a1d1d94..b29174b8 100644 --- a/include/uv.h +++ b/include/uv.h @@ -1873,7 +1873,7 @@ enum uv_fs_event_flags { * flag does not affect individual files watched. * This flag is currently not implemented yet on any backend. */ - UV_FS_EVENT_WATCH_ENTRY = 1, + UV_FS_EVENT_WATCH_ENTRY = 1, /* * By default uv_fs_event will try to use a kernel interface such as inotify @@ -1889,7 +1889,7 @@ enum uv_fs_event_flags { * (is ignoring) changes in it's subdirectories. * This flag will override this behaviour on platforms that support it. */ - UV_FS_EVENT_RECURSIVE = 3 + UV_FS_EVENT_RECURSIVE = 4 };