Skip to content
Prev Previous commit
Next Next commit
merge revision(s) r46397: [Backport ruby#10434]
	envutil.rb: avoid error on OS X 10.10

	* test/ruby/envutil.rb (diagnostic_reports): Mac OS X 10.10 may
  not create plist file with crash file together.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@48273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nagachika committed Nov 4, 2014
commit 1d665c3e0f81fa822366f9ebba52f7b95e811be5
2 changes: 1 addition & 1 deletion test/ruby/envutil.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def self.diagnostic_reports(signame, cmd, pid, now)
log = File.read(name) rescue next
if /\AProcess:\s+#{cmd} \[#{pid}\]$/ =~ log
File.unlink(name)
File.unlink("#{path}/.#{File.basename(name)}.plist")
File.unlink("#{path}/.#{File.basename(name)}.plist") rescue nil
return log
end
end
Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.1.5"
#define RUBY_RELEASE_DATE "2014-11-05"
#define RUBY_PATCHLEVEL 268
#define RUBY_PATCHLEVEL 269

#define RUBY_RELEASE_YEAR 2014
#define RUBY_RELEASE_MONTH 11
Expand Down