unix: check uv__make_subdirs_p UV_ENAMETOOLONG error when called

This commit is contained in:
Levent Kaya 2026-03-18 22:04:08 +03:00
parent f84afb7cc5
commit 4b14de5a45

View File

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