Skip to content

Commit

Permalink
修复 windows 下 fs.open 打开 zip 的逻辑错误
Browse files Browse the repository at this point in the history
  • Loading branch information
xicilion committed Dec 4, 2016
1 parent de9e1cb commit d6c4b71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fibjs/src/fs/fs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ result_t fs_base::open(exlib::string fname, exlib::string flags,
hr = zfile->cc_read(member, "", data);
if (hr < 0)
return hr;
}
} else
return hr;
#else
return hr;
#endif
Expand Down

0 comments on commit d6c4b71

Please sign in to comment.