From cf08c168ea02ba6c76c8e4307ba8e49e5e1d782c Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 29 Aug 2011 20:50:12 -0700 Subject: [PATCH] Use Windows compatibile flags --- test/test-fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-fs.c b/test/test-fs.c index d7f77b11..d2aac69a 100644 --- a/test/test-fs.c +++ b/test/test-fs.c @@ -253,8 +253,8 @@ TEST_IMPL(fs_file_async) { uv_init(); - r = uv_fs_open(&open_req1, "test_file", O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR, - create_cb); + r = uv_fs_open(&open_req1, "test_file", O_WRONLY | O_CREAT, + S_IREAD | S_IWRITE, create_cb); ASSERT(r == 0); uv_run();