Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/java/org/jruby/RubyFile.java
Original file line number Diff line number Diff line change
@@ -171,6 +171,8 @@ public static RubyClass createFileClass(Ruby runtime) {
/* disable line code conversion */
constants.setConstant("BINARY", runtime.newFixnum(OpenFlags.O_BINARY.intValue()));
}
// FIXME: Need Windows value for this
constants.setConstant("SHARE_DELETE", runtime.newFixnum(0));
if (OpenFlags.O_SYNC.defined()) {
/* any write operation perform synchronously */
constants.setConstant("SYNC", runtime.newFixnum(OpenFlags.O_SYNC.intValue()));

1 comment on commit 020d8a1

@lopex
Copy link
Contributor

@lopex lopex commented on 020d8a1 Feb 22, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cygwin matches linux and not available on mingw builds at all

Sorry, something went wrong.

Please sign in to comment.