diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-12-13 14:10:44 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-12-13 14:10:44 +0900 |
| commit | a3925f3dec3cbf316b2eaeae59d5b83cd1c91e4a (patch) | |
| tree | d1214af044ac1ff70abf2eeabd0419129c4c122c | |
| parent | aec65f26057dbc2744136d9d78707a788b6b76e1 (diff) | |
| parent | 6123d653b7dc5d6e202ae99df87aca28bc970992 (diff) | |
| download | mruby-a3925f3dec3cbf316b2eaeae59d5b83cd1c91e4a.tar.gz mruby-a3925f3dec3cbf316b2eaeae59d5b83cd1c91e4a.zip | |
Merge pull request #3889 from mattn/fix-crash
fix crash bug on Windows
| -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); |
