From 289bd6e0eed0b05b56297a19b7bbd66638d34970 Mon Sep 17 00:00:00 2001 From: Steve Dee Date: Tue, 8 Apr 2014 16:06:14 -0700 Subject: [PATCH] Fix fs event sync --- v/unix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v/unix.c b/v/unix.c index 9415462f34..ab274291e8 100644 --- a/v/unix.c +++ b/v/unix.c @@ -180,12 +180,14 @@ _unix_fs_event_cb(uv_fs_event_t* was_u, u2_unod* nod_u = (void*)was_u; // uL(fprintf(uH, "fs: %s in %s\n", pax_c, nod_u->pax_c)); + u2_lo_open(); { while ( nod_u ) { nod_u->dry = u2_no; nod_u = (u2_unod*) nod_u->par_u; } } + u2_lo_shut(u2_yes); } /* _unix_file_watch(): create file tracker (from filesystem)