unix: map ENFILE errno
Fixes: https://github.com/libuv/libuv/issues/899 PR-URL: https://github.com/libuv/libuv/pull/904 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
d4ff8fd5c1
commit
c447d9058c
@ -110,6 +110,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
|
||||
case ERANGE: return UV_ERANGE;
|
||||
case ENXIO: return UV_ENXIO;
|
||||
case EMLINK: return UV_EMLINK;
|
||||
case ENFILE: return UV_ENFILE;
|
||||
default: return UV_UNKNOWN;
|
||||
}
|
||||
UNREACHABLE();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user