diff options
| -rw-r--r-- | tool/lib/core_assertions.rb | 12 | ||||
| -rw-r--r-- | version.h | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/tool/lib/core_assertions.rb b/tool/lib/core_assertions.rb index 6b67da8334..dea37b093e 100644 --- a/tool/lib/core_assertions.rb +++ b/tool/lib/core_assertions.rb @@ -744,11 +744,13 @@ eom ].find do |c| if Process.const_defined?(c) [c.to_sym, Process.const_get(c)].find do |clk| - Process.clock_gettime(clk) - rescue - # Constants may be defined but not implemented, e.g., mingw. - else - PERFORMANCE_CLOCK = clk + begin + Process.clock_gettime(clk) + rescue + # Constants may be defined but not implemented, e.g., mingw. + else + PERFORMANCE_CLOCK = clk + end end end end @@ -11,7 +11,7 @@ # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR #define RUBY_VERSION_TEENY 5 #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 221 +#define RUBY_PATCHLEVEL 222 #include "ruby/version.h" #include "ruby/internal/abi.h" |
