windows: initialize uv_fs_t.path to NULL

This shouldn't be necessary, but node v0.8 relies on it.
This commit is contained in:
Bert Belder 2012-07-31 21:08:26 +02:00
parent 9d71d1cab5
commit 69c2ef8acc

View File

@ -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;