diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-07 05:53:46 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-07 05:53:46 +0000 |
commit | 301f4076f8c5763489edf26133d546f80377f9cc (patch) | |
tree | a710d0996ad34bb0f4d78e09598ddb22fd7374e8 /win32/win32.c | |
parent | 141295c12441064f21d5e0739de361eec722f5a0 (diff) |
* win32/win32.c (errmap): add some winsock errors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 3c7ac46ce5..2a117ab4f0 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -171,7 +171,13 @@ static struct { { ERROR_NESTING_NOT_ALLOWED, EAGAIN }, { ERROR_NOT_ENOUGH_QUOTA, ENOMEM }, { WSAENAMETOOLONG, ENAMETOOLONG }, - { WSAENOTEMPTY, ENOTEMPTY } + { WSAENOTEMPTY, ENOTEMPTY }, + { WSAEINTR, EINTR }, + { WSAEBADF, EBADF }, + { WSAEACCES, EACCES }, + { WSAEFAULT, EFAULT }, + { WSAEINVAL, EINVAL }, + { WSAEMFILE, EMFILE }, }; static int |