Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

test: don't use _O_RDWR, windows-ism

  • Loading branch information...
commit 9dc67f5e6157c875e9d717523bbdcd82f87d9ce6 1 parent cee56c9
Ben Noordhuis bnoordhuis authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 test/test-fs.c
4 test/test-fs.c
@@ -1435,7 +1435,7 @@ TEST_IMPL(fs_file_open_append) {
1435 1435 ASSERT(close_req.result != -1);
1436 1436 uv_fs_req_cleanup(&close_req);
1437 1437
1438   - r = uv_fs_open(loop, &open_req1, "test_file", _O_RDWR | O_APPEND, 0, NULL);
  1438 + r = uv_fs_open(loop, &open_req1, "test_file", O_RDWR | O_APPEND, 0, NULL);
1439 1439 ASSERT(r != -1);
1440 1440 ASSERT(open_req1.result != -1);
1441 1441 uv_fs_req_cleanup(&open_req1);
@@ -1473,4 +1473,4 @@ TEST_IMPL(fs_file_open_append) {
1473 1473 unlink("test_file");
1474 1474
1475 1475 return 0;
1476   -}
  1476 +}

0 comments on commit 9dc67f5

Please sign in to comment.
Something went wrong with that request. Please try again.