Skip to content

Commit

Permalink
Add the throw_safe variable to the uv_fs_s struct
Browse files Browse the repository at this point in the history
This variable is meant to control whether IO errors are created or not.
This enables: nodejs/node-v0.x-archive#8189

The general idea is to throw less errors that are immediately caught.
  • Loading branch information
Albert Siddhartha Slawinski committed Aug 19, 2014
1 parent 1552184 commit 95780df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/uv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1906,6 +1906,7 @@ struct uv_fs_s {
uv_fs_type fs_type;
uv_loop_t* loop;
uv_fs_cb cb;
int throw_safe;
ssize_t result;
void* ptr;
const char* path;
Expand Down

0 comments on commit 95780df

Please sign in to comment.