diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-10 15:05:18 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-10 15:05:18 +0000 |
commit | bb544954b2679d4bd86fa6da6da29171e65e017a (patch) | |
tree | 11cb95cc04fbef35876af401f82af0733f7b7fb1 /eval.c | |
parent | 70b55f2018ba19a0a1b516bd7bf8b112cd7ae5fb (diff) |
* file.c (rb_find_file): need world writable directory check for
relative paths too.
* file.c (rb_find_file): world writable directory check if
$SAFE >= 1 (was $SAFE >= 2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4029,7 +4029,7 @@ massign(self, node, val, pcall) len = RARRAY(val)->len; list = node->nd_head; - if (len == 1 && list && (!pcall || list->nd_next || node->nd_args)) { + if (len == 1 && list) { VALUE v = RARRAY(val)->ptr[0]; tmp = rb_check_array_type(v); |