diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-14 13:09:11 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-14 13:09:11 +0000 |
| commit | 93655b3b5a6a8c9d676f8bea3ed5376b79828e2a (patch) | |
| tree | bbe19420084e25e318d5dd5ef1c41df0c7c430fd | |
| parent | 30b48f40edada9ba0714af6999c085d3fc0a04f7 (diff) | |
* win32/win32.c (ioctl): should set errno.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | win32/win32.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Fri Oct 14 22:08:26 2005 NAKAMURA Usaku <usa@ruby-lang.org> + + * win32/win32.c (ioctl): should set errno. + Fri Oct 14 16:57:32 2005 GOTOU Yuuzou <gotoyuzo@notwork.org> * lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil. diff --git a/win32/win32.c b/win32/win32.c index cc128613d..378815704 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1797,6 +1797,7 @@ int ioctl(int i, unsigned int u, long data) #endif { + errno = EINVAL; return -1; } |
