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: rubinius/rubinius
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 82f17ede583b
Choose a base ref
...
head repository: rubinius/rubinius
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1965c1ce1cd4
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jun 12, 2016

  1. Fixed const type.

    brixen committed Jun 12, 2016
    Copy the full SHA
    e080680 View commit details
  2. Copy the full SHA
    1965c1c View commit details
Showing with 3 additions and 1 deletion.
  1. +2 −0 library/rubinius/configuration_variables.rb
  2. +1 −1 machine/logger.cpp
2 changes: 2 additions & 0 deletions library/rubinius/configuration_variables.rb
Original file line number Diff line number Diff line change
@@ -78,6 +78,8 @@ def value_info
default = @options[:default]

"default: #{default}, possible: #{possible.map { |x| x[0] }.join(", ")}"
elsif @type == "config::Regexp"
"#{@default} (Regexp)"
else
value = case @default
when true
2 changes: 1 addition & 1 deletion machine/logger.cpp
Original file line number Diff line number Diff line change
@@ -397,7 +397,7 @@ namespace rubinius {
archives_ = va_arg(varargs, long);
perms_ = va_arg(varargs, int);

if(char* str = strrchr(path, '/')) {
if(const char* str = strrchr(path, '/')) {
ipc_handle_.assign(str);
} else {
ipc_handle_.assign(path);