Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
test: don't use _O_RDWR, windows-ism
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Nov 5, 2011
1 parent cee56c9 commit 9dc67f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-fs.c
Expand Up @@ -1435,7 +1435,7 @@ TEST_IMPL(fs_file_open_append) {
ASSERT(close_req.result != -1);
uv_fs_req_cleanup(&close_req);

r = uv_fs_open(loop, &open_req1, "test_file", _O_RDWR | O_APPEND, 0, NULL);
r = uv_fs_open(loop, &open_req1, "test_file", O_RDWR | O_APPEND, 0, NULL);
ASSERT(r != -1);
ASSERT(open_req1.result != -1);
uv_fs_req_cleanup(&open_req1);
Expand Down Expand Up @@ -1473,4 +1473,4 @@ TEST_IMPL(fs_file_open_append) {
unlink("test_file");

return 0;
}
}

0 comments on commit 9dc67f5

Please sign in to comment.