unix: map ELOOP to UV_ELOOP
This commit is contained in:
parent
2f182f4451
commit
3ff3626e52
@ -117,7 +117,8 @@ typedef intptr_t ssize_t;
|
||||
XX( 47, EEXIST, "file already exists") \
|
||||
XX( 48, ESRCH, "no such process") \
|
||||
XX( 49, ENAMETOOLONG, "name too long") \
|
||||
XX( 50, EPERM, "operation not permitted")
|
||||
XX( 50, EPERM, "operation not permitted") \
|
||||
XX( 51, ELOOP, "too many symbolic links encountered")
|
||||
|
||||
|
||||
#define UV_ERRNO_GEN(val, name, s) UV_##name = val,
|
||||
|
||||
@ -75,6 +75,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
|
||||
case ENAMETOOLONG: return UV_ENAMETOOLONG;
|
||||
case EINVAL: return UV_EINVAL;
|
||||
case ECONNABORTED: return UV_ECONNABORTED;
|
||||
case ELOOP: return UV_ELOOP;
|
||||
case ECONNREFUSED: return UV_ECONNREFUSED;
|
||||
case EADDRINUSE: return UV_EADDRINUSE;
|
||||
case EADDRNOTAVAIL: return UV_EADDRNOTAVAIL;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user