1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/sync.rb: Fix NameError when error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2016-09-18 10:24:48 +00:00
parent b9e96915ba
commit 2c2a111ecf
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Sun Sep 18 19:23:47 2016 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* lib/sync.rb: Fix NameError when error.
Sat Sep 17 22:46:02 2016 Koichi ITO <koic.ito@gmail.com>
* vm_insnhelper.c (vm_throw_start): Remove too much ";"

View file

@ -68,7 +68,7 @@ module Sync_m
Message = "Unknown lock mode(%s)"
def LockModeFailer.Fail(mode)
if mode.id2name
mode = id2name
mode = mode.id2name
end
super(mode)
end
@ -304,7 +304,7 @@ module Sync_m
ret = false
end
else
Err::LockModeFailer.Fail mode
Err::LockModeFailer.Fail m
end
return ret
end