From 69c2ef8acc01da9497e687a5fd25cad971fe69ef Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Tue, 31 Jul 2012 21:08:26 +0200 Subject: [PATCH] windows: initialize uv_fs_t.path to NULL This shouldn't be necessary, but node v0.8 relies on it. --- src/win/fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/win/fs.c b/src/win/fs.c index d69964a1..26ffb56b 100644 --- a/src/win/fs.c +++ b/src/win/fs.c @@ -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;