From 53eb9935cbe07efe2823249c59f79103b8b0689f Mon Sep 17 00:00:00 2001 From: Igor Zinkovsky Date: Thu, 9 Feb 2012 12:59:41 -0800 Subject: [PATCH] fix windows build --- test/test-fs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test-fs.c b/test/test-fs.c index 1d231c0e..00696882 100644 --- a/test/test-fs.c +++ b/test/test-fs.c @@ -498,7 +498,8 @@ TEST_IMPL(fs_file_loop) { loop = uv_default_loop(); unlink("test_symlink"); - symlink("test_symlink", "test_symlink"); + uv_fs_symlink(loop, &req, "test_symlink", "test_symlink", 0, NULL); + uv_fs_req_cleanup(&req); r = uv_fs_open(loop, &req, "test_symlink", O_RDONLY, 0, NULL); ASSERT(r == -1);