Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c87882b34cbc
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d190de9c6317
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Dec 6, 2016

  1. Copy the full SHA
    97d8837 View commit details
  2. Copy the full SHA
    d190de9 View commit details
1 change: 0 additions & 1 deletion spec/truffle/tags/core/exception/backtrace_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/file/constants/constants_tags.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -216,6 +216,7 @@ public static void load(RubiniusConfiguration configuration, RubyContext context
configuration.config("rbx.platform.file.O_APPEND", 1024);
configuration.config("rbx.platform.file.O_NONBLOCK", 2048);
configuration.config("rbx.platform.file.O_SYNC", 1052672);
configuration.config("rbx.platform.file.O_TMPFILE", 4259840);
configuration.config("rbx.platform.file.S_IRUSR", 256);
configuration.config("rbx.platform.file.S_IWUSR", 128);
configuration.config("rbx.platform.file.S_IXUSR", 64);
4 changes: 4 additions & 0 deletions truffle/src/main/ruby/core/file.rb
Original file line number Diff line number Diff line change
@@ -79,6 +79,10 @@ module Constants
NONBLOCK = Rubinius::Config['rbx.platform.file.O_NONBLOCK']
SYNC = Rubinius::Config['rbx.platform.file.O_SYNC']

if Rubinius::Config['rbx.platform.file.O_TMPFILE']
TMPFILE = Rubinius::Config['rbx.platform.file.O_TMPFILE']
end

# TODO: these flags should probably be imported from Platform
LOCK_SH = 0x01
LOCK_EX = 0x02