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 | a0e148cc1e2bae4bf48325d9a5ac5e524475cf90 (patch) | |
tree | ce548c30f07426ed917725872d055b50644b78be /win32 | |
parent | 9504e47d94164c2e96844bd0fae6350b1a480c76 (diff) | |
download | ruby-a0e148cc1e2bae4bf48325d9a5ac5e524475cf90.tar.gz ruby-a0e148cc1e2bae4bf48325d9a5ac5e524475cf90.tar.xz ruby-a0e148cc1e2bae4bf48325d9a5ac5e524475cf90.zip |
* win32/win32.c (errmap): add some winsock errors.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-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 3e9846d5c..321c30384 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -176,7 +176,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 |