unix: check uv__make_subdirs_p UV_ENAMETOOLONG error when called
This commit is contained in:
parent
4b14de5a45
commit
2b775c37ba
@ -576,9 +576,7 @@ 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)
|
||||
if (rc != 0)
|
||||
return rc;
|
||||
|
||||
strcat(mon_file, filename);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user