windows: set flags for uv_fs_symlink

This commit is contained in:
Igor Zinkovsky 2012-05-22 16:32:17 -07:00
parent 253d718572
commit 2df831723f

View File

@ -1445,6 +1445,7 @@ int uv_fs_symlink(uv_loop_t* loop, uv_fs_t* req, const char* path,
if (cb) {
uv_fs_req_init_async(loop, req, UV_FS_SYMLINK, path, pathw, cb);
req->new_pathw = new_pathw;
req->file_flags = flags;
req->flags |= UV_FS_FREE_NEW_PATH;
QUEUE_FS_TP_JOB(loop, req);
} else {