summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-io
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <[email protected]>2017-12-13 12:48:26 +0900
committerYasuhiro Matsumoto <[email protected]>2017-12-13 12:48:26 +0900
commit6123d653b7dc5d6e202ae99df87aca28bc970992 (patch)
tree84ecb95f72657f73542de9e5740e52625c389a07 /mrbgems/mruby-io
parentfa33bd86a8a240fc43da81aa736cd04bd3e15cc6 (diff)
downloadmruby-6123d653b7dc5d6e202ae99df87aca28bc970992.tar.gz
mruby-6123d653b7dc5d6e202ae99df87aca28bc970992.zip
fix crash bug on Windows
Diffstat (limited to 'mrbgems/mruby-io')
-rw-r--r--mrbgems/mruby-io/test/mruby_io_test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mrbgems/mruby-io/test/mruby_io_test.c b/mrbgems/mruby-io/test/mruby_io_test.c
index 32887f066..7e25dddc2 100644
--- a/mrbgems/mruby-io/test/mruby_io_test.c
+++ b/mrbgems/mruby-io/test/mruby_io_test.c
@@ -75,8 +75,6 @@ mrb_io_test_io_setup(mrb_state *mrb, mrb_value self)
mrb_raise(mrb, E_RUNTIME_ERROR, "can't create temporary file");
return mrb_nil_value();
}
- close(fd0);
- close(fd1);
#if !defined(_WIN32) && !defined(_WIN64)
fd2 = mkstemp(symlinkname);
fd3 = mkstemp(socketname);