mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fix crash bug on Windows
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user