unix: check uv__make_subdirs_p UV_ENAMETOOLONG error when called
This commit is contained in:
parent
f84afb7cc5
commit
4b14de5a45
@ -576,6 +576,8 @@ static int uv__setup_ahafs(const char* filename, int *fd) {
|
||||
|
||||
/* Make the necessary subdirectories for the monitor file */
|
||||
rc = uv__make_subdirs_p(filename);
|
||||
if (rc == UV_ENAMETOOLONG)
|
||||
return rc;
|
||||
if (rc == -1 && errno != EEXIST)
|
||||
return rc;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user