fix crash bug on Windows

This commit is contained in:
Yasuhiro Matsumoto
2017-12-13 12:48:26 +09:00
parent fa33bd86a8
commit 6123d653b7
-2
View File
@@ -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);