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

* ext/dl/lib/dl/import.rb (DL::Importable::Internal::import,

DL::Importable::Internal::callback): Avoid race condition for an
  instance variable; submitted by sheepman <sheepman AT
  sheepman.sakura.ne.jp> in [ruby-dev:30530].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2007-03-11 16:01:25 +00:00
parent 7623d4f663
commit f7ff06d983
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
Mon Mar 12 00:59:19 2007 Akinori MUSHA <knu@iDaemons.org>
* ext/dl/lib/dl/import.rb (DL::Importable::Internal::import,
DL::Importable::Internal::callback): Avoid race condition for an
instance variable; submitted by sheepman <sheepman AT
sheepman.sakura.ne.jp> in [ruby-dev:30530].
Sun Mar 11 18:57:50 2007 Akinori MUSHA <knu@iDaemons.org>
* misc/README: Add a note about ruby-electric.el.

View file

@ -87,7 +87,7 @@ module DL
" rs = dec.call(rs) if (dec && rs)",
" @retval = r",
" @args = rs",
" @retval",
" r",
"}",
].join("\n"))
@ -169,7 +169,7 @@ module DL
" rs = dec.call(rs) if dec",
" @retval = r",
" @args = rs",
" return @retval",
" return r",
"end",
"module_function :#{mname}",
].join("\n")