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:
Saúl Ibarra Corretgé 2016-06-09 23:10:06 +02:00
parent d4ff8fd5c1
commit c447d9058c

View File

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