summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-07 05:53:46 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-07 05:53:46 +0000
commita0e148cc1e2bae4bf48325d9a5ac5e524475cf90 (patch)
treece548c30f07426ed917725872d055b50644b78be /win32
parent9504e47d94164c2e96844bd0fae6350b1a480c76 (diff)
downloadruby-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.c8
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