summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog4
-rw-r--r--win32/win32.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f34a2e248..94bdaa060 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Oct 14 22:05:45 2005 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * win32/win32.c (ioctl): should set errno.
+
Fri Oct 14 16:39:37 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 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;
}