You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ jruby -ve "File.open('foo.test', 'wb').pos"
jruby 9.0.0.0 (2.2.2) 2015-07-21 e10ec96 OpenJDK Server VM 24.80-b11 on 1.7.0_80-b15 +jit [OpenBSD-i386]
Errno::EINVAL: Invalid argument - foo.test
pos at org/jruby/RubyIO.java:1535
<top> at -e:1
$ jruby -ve "f = File.open('foo.test', 'rb'); f.read; f.rewind"
jruby 9.0.0.0 (2.2.2) 2015-07-21 e10ec96 OpenJDK Server VM 24.80-b11 on 1.7.0_80-b15 +jit [OpenBSD-i386]
Errno::EINVAL: Invalid argument - foo.test
rewind at org/jruby/RubyIO.java:1739
<top> at -e:1
This only happens on OpenBSD-i386, it does not happen on OpenBSD-amd64. I've also tried using JDK 1.8.0, but receive the same error with that, here's the jruby -v line for that:
jruby 9.0.0.0 (2.2.2) 2015-07-21 e10ec96 OpenJDK Server VM 25.45-b02 on 1.8.0_45-b14 +jit [OpenBSD-i386]
Any ideas where to look for the fix? Is this something that could be fixed in jnr-posix?
The text was updated successfully, but these errors were encountered:
This only happens on OpenBSD-i386, it does not happen on OpenBSD-amd64. I've also tried using JDK 1.8.0, but receive the same error with that, here's the
jruby -v
line for that:Any ideas where to look for the fix? Is this something that could be fixed in jnr-posix?
The text was updated successfully, but these errors were encountered: