mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (assign): avoid SEGV at multiple attribute assignment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f506e11e10
commit
cf5ecdfcbb
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Dec 19 22:35:20 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* eval.c (assign): avoid SEGV at multiple attribute assignment.
|
||||
|
||||
Thu Dec 19 01:00:09 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* numeric.c (num_step): use DBL_EPSILON.
|
||||
|
|
1
eval.c
1
eval.c
|
@ -4085,6 +4085,7 @@ assign(self, lhs, val, pcall)
|
|||
break;
|
||||
|
||||
case NODE_CALL:
|
||||
case NODE_ATTRASGN:
|
||||
{
|
||||
VALUE recv;
|
||||
recv = rb_eval(self, lhs->nd_recv);
|
||||
|
|
Loading…
Add table
Reference in a new issue