diff options
| author | Yasuhiro Matsumoto <[email protected]> | 2017-12-13 12:48:26 +0900 |
|---|---|---|
| committer | Yasuhiro Matsumoto <[email protected]> | 2017-12-13 12:48:26 +0900 |
| commit | 6123d653b7dc5d6e202ae99df87aca28bc970992 (patch) | |
| tree | 84ecb95f72657f73542de9e5740e52625c389a07 /mrbgems/mruby-io | |
| parent | fa33bd86a8a240fc43da81aa736cd04bd3e15cc6 (diff) | |
| download | mruby-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.c | 2 |
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); |
