summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-14 13:09:11 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-14 13:09:11 +0000
commit2cfa0b266775b2c58ae0a02dfcd0f354e487ab60 (patch)
treed9b889d16e3fa300ea2293f9909fa01933124774 /win32
parent56d6fcd7a3287958435759358398d0e551e0d497 (diff)
downloadruby-2cfa0b266775b2c58ae0a02dfcd0f354e487ab60.tar.gz
ruby-2cfa0b266775b2c58ae0a02dfcd0f354e487ab60.tar.xz
ruby-2cfa0b266775b2c58ae0a02dfcd0f354e487ab60.zip
* win32/win32.c (ioctl): should set errno.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index b16f595d5..fc6b587b2 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1839,6 +1839,7 @@ setgid(rb_gid_t gid)
int
ioctl(int i, int u, ...)
{
+ errno = EINVAL;
return -1;
}