mruby-io
mruby-io copied to clipboard
IO and File class for old versions (<= 1.3.x) of mruby
Test fails using latest `mruby-io` (and mruby-head) on Windows. ``` Fail: File.basename (mrbgems: mruby-io) - Assertion[1] Failed: Expected to be equal Expected: "/" Actual: "//" ```
When cross compiling with mingw mruby-io adds 'Ws2_32' to the list of libraries to be linked to: https://github.com/iij/mruby-io/blob/master/mrbgem.rake#L7-L12 mingw however does not have this library, but it does have 'ws2_32'...
Commit https://github.com/iij/mruby-io/commit/c25d386c419546c31ecf8ae09fb3aeb15d511469 introduces use of mkstemp and mode_t, These are not present in MSVC
`mrb_string_value_cstr` cannot be used on shared and frozen strings.
Excume me if my question is trivial. I am a newbie with ruby and starting with networking programming using mruby! I am not able to find support of WaitWritable. I...
mruby with VisualStudio: ``` ruby File.dirname("") #=> "" File.dirname("a") #=> "" File.dirname("/a") #=> "/" File.dirname("a/b") #=> "a/" File.dirname("/a/b") #=> "/a/" ``` Ruby 2.1: ``` ruby File.dirname("") #=> "." File.dirname("a") #=>...