Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OS-2676 update platform to node 0.10
OS-2891 fs.watch is broken on node 0.10.26 preventing upgrade
- Loading branch information
Keith M Wesolowski
committed
Apr 9, 2014
1 parent
f7db4a9
commit 65cd149
Showing
7 changed files
with
45 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/deps/uv/src/unix/sunos.c b/deps/uv/src/unix/sunos.c | ||
index 9030bfa..5249de0 100644 | ||
--- a/deps/uv/src/unix/sunos.c | ||
+++ b/deps/uv/src/unix/sunos.c | ||
@@ -364,11 +364,11 @@ static void uv__fs_event_read(uv_loop_t* loop, | ||
handle->fd = PORT_FIRED; | ||
handle->cb(handle, NULL, events, 0); | ||
|
||
- if (handle->fd != PORT_DELETED) | ||
+ if (handle->fd != PORT_DELETED && !(events & UV_RENAME)) | ||
if (uv__fs_event_rearm(handle) != 0) | ||
handle->cb(handle, NULL, 0, -1); | ||
} | ||
- while (handle->fd != PORT_DELETED); | ||
+ while (handle->fd != PORT_DELETED && !(events & UV_RENAME)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.