Tom Black
|
82053dd945
|
Exclude pipe and exec on iOS/tvOS
Use of `execl()` is prohibited on these platforms
|
2018-09-15 13:55:11 -07:00 |
|
Yukihiro "Matz" Matsumoto
|
ed4dbce052
|
fixup! Add support for iOS platforms that does not support fork; fix #4113
|
2018-09-16 00:58:52 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2661ac7049
|
Add support for iOS platforms that does not support fork; fix #4113
|
2018-09-16 00:41:48 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c095736002
|
Try to fix a fragile File#mtime test.
|
2018-08-13 23:15:52 +09:00 |
|
Yusuke Endoh
|
7917b7f8bf
|
Support MRB_WITHOUT_FLOAT to mruby-io
|
2018-07-02 10:47:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5e7ced0785
|
Merge pull request #4047 from kou/stop-to-use-freed-value
Stop to use freed value
|
2018-06-19 19:33:37 +09:00 |
|
Kouhei Sutou
|
33c8c8f8a6
|
Stop to use freed value
|
2018-06-19 17:27:34 +09:00 |
|
Kouhei Sutou
|
fb9358206e
|
Fix wrong free function
mrb_locale_free() should be used for the return value of
mrb_locale_from_utf8().
|
2018-06-19 17:25:38 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2a38eb9325
|
Check the return value from mrb_get_datatype(); fix #4009
The return value (void*) may be NULL. Avoid using `mrb_get_datatype()`
directly and use `io_get_open_fptr()` instead.
|
2018-05-01 13:29:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c9275bbbed
|
mrb_io_initialize_copy should not free existing fptr; fix #4005
When arguments `copy` and `orig` are the same object.
|
2018-04-18 17:27:41 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
05db341ef5
|
mrb_dup() should fail if fd is a negative integer; ref #4005
|
2018-04-18 17:25:52 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b51b21fc63
|
Fix use after free in File#initilialize_copy; fix #4001
The bug and the fix were reported by https://hackerone.com/pnoltof
|
2018-04-17 09:57:41 +09:00 |
|
Yasuhiro Matsumoto
|
f4f006ba40
|
add File#mtime
|
2018-01-30 16:02:00 +09:00 |
|
ksss
|
dc9c40f72d
|
Remove trailing space
|
2018-01-14 22:40:46 +09:00 |
|
ksss
|
e5e9d03482
|
Should be true for close_on_exec flag
|
2018-01-14 22:40:45 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
bba6c9a1ce
|
Fix descriptor leakage; ref #3903
|
2017-12-18 11:55:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e5056d058a
|
Fix fptr leakage; ref #3903
|
2017-12-18 11:55:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
83d02bcd5a
|
Use _dup2 instead of dup2 on Windows; ref #3903
|
2017-12-18 11:55:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5e22e8e350
|
open on Windows takes int 3rd argument instead of mode_t.
|
2017-12-18 11:15:27 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b4dcb8f286
|
Use _dup instead of dup on Windows; ref #3903
|
2017-12-18 11:10:49 +09:00 |
|
ksss
|
35185e69bf
|
Implement IO#initialize_copy
|
2017-12-17 18:02:37 +09:00 |
|
Hiroshi Mimaki
|
41039524a9
|
Initialized mrb_io.is_socket
|
2017-12-14 12:36:25 +09:00 |
|
Takeshi Watanabe
|
949bf6ca43
|
Fix socket closing by using closesocket API in windows instead.
|
2017-12-14 00:05:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
fa33bd86a8
|
Remove VC++ compiler warnings.
|
2017-12-13 11:39:32 +09:00 |
|
Yasuhiro Matsumoto
|
16c2ac2588
|
fix path locales
|
2017-12-13 10:12:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c66978521d
|
Reduce VC++ type mismatch warnings.
|
2017-12-13 08:10:35 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5a5adafabf
|
Merge pull request #3886 from mattn/io-windows
implement popen/flock on Windows
|
2017-12-13 07:56:24 +09:00 |
|
Yasuhiro Matsumoto
|
b07269584c
|
fix build for MSVC
|
2017-12-13 00:21:30 +09:00 |
|
Yasuhiro Matsumoto
|
f1ea7a31c0
|
implement flock on Windows
|
2017-12-12 23:21:41 +09:00 |
|
Yasuhiro Matsumoto
|
df2c3771f8
|
fix compilation error
|
2017-12-12 22:39:21 +09:00 |
|
Yasuhiro Matsumoto
|
f6f8bb2416
|
fix compilation error
|
2017-12-12 22:39:20 +09:00 |
|
Yasuhiro Matsumoto
|
06ec17de60
|
add definition for pid_t on MSVC
|
2017-12-12 22:39:19 +09:00 |
|
Yasuhiro Matsumoto
|
d549603a8a
|
close handle
|
2017-12-12 22:39:18 +09:00 |
|
Yasuhiro Matsumoto
|
b8ca0b7cd8
|
implement popen on Windows
|
2017-12-12 22:39:17 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c863e0dac8
|
Merge pull request #3885 from Shokuji/cygwin_mruby_io_test
fixed mruby-io so that the test passes on cygwin
|
2017-12-12 22:34:10 +09:00 |
|
Yasuhiro Matsumoto
|
17cd7a65e7
|
fix wrong variable name
|
2017-12-12 18:52:41 +09:00 |
|
Yasuhiro Matsumoto
|
977f79478f
|
use filename in locale
|
2017-12-12 18:52:40 +09:00 |
|
窪山 翔士
|
e71a6a7b2c
|
fixed mruby-io so that the test passes on cygwin
|
2017-12-12 17:29:05 +09:00 |
|
Yusuke Endoh
|
d96b2c9a76
|
Support MRB_WITHOUT_FLOAT to mruby-io and mruby-pack
|
2017-12-12 00:47:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
274884abe5
|
Reduce VC++ compiler warnings.
|
2017-12-09 16:14:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
83065df67a
|
Reduce compiler warnings from mruby-io gem.
|
2017-12-08 10:07:41 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
bc9e3e6fd0
|
Add type cast to readline(2) return value.
|
2017-12-07 20:26:34 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d75266dd1b
|
Add 'mrbgems/mruby-io/' from commit '3c8e1f94c44252c836f79a48bb17726da28e2756'
git-subtree-dir: mrbgems/mruby-io
git-subtree-mainline: 10ed730e4b
git-subtree-split: 3c8e1f94c4
|
2017-12-07 18:11:06 +09:00 |
|