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

Commit

Permalink
windows: initialize uv_fs_t.path to NULL
Browse files Browse the repository at this point in the history
This shouldn't be necessary, but node v0.8 relies on it.
  • Loading branch information
piscisaureus committed Jul 31, 2012
1 parent 9d71d1c commit 69c2ef8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/win/fs.c
Expand Up @@ -219,6 +219,7 @@ INLINE static void uv_fs_req_init(uv_loop_t* loop, uv_fs_t* req,
req->result = 0;
req->ptr = NULL;
req->errorno = UV_OK;
req->path = NULL;

if (cb != NULL) {
req->cb = cb;
Expand Down

0 comments on commit 69c2ef8

Please sign in to comment.