<byteit101>
I got windows IO::sysopen("COM", File::RDONLY) working on my branch (https://github.com/byteit101/jruby/tree/winio) but it returns a fake fileno, whereas MRI returns a real fileno.
<byteit101>
Getting a real fileno from a FileDescriptor is easy enough (msvcrt._open_osfhandle(JavaLibCHelper.gethandle(FilenoUtil.getDescriptorFromChannel(ret))) in RubyIO.cloexecOpen), but I'm not sure where to put the _open_osfhandle ffi definition. Suggestions?
<headius[m]>
Ah well most native IO stuff in JRuby proper is just turned off on Windows because I knew we had no support for it
<headius[m]>
I'll be back on in the morning and we can look at filling this out and getting more enabled
<headius[m]>
Could be a big deal for 9.2.9
rusk has joined #jruby
shellac has joined #jruby
jrafanie has joined #jruby
jrafanie has quit [Client Quit]
subbu is now known as subbu|away
rusk has quit [Remote host closed the connection]
xardion has quit [Remote host closed the connection]
subbu|away is now known as subbu
xardion has joined #jruby
subbu is now known as subbu|rabbit_cha
subbu|rabbit_cha is now known as subbu|lunch
subbu|lunch is now known as subbu
shellac has quit [Quit: Computer has gone to sleep.]