summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-06 06:37:01 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-06 06:37:01 +0000
commit95ad43eeb5d967d61be874e5700ee6d8667bf660 (patch)
treebe539344ea68014b792caf7b9a44d6934fe1bbb7 /ruby.c
parent88f586b8ac7ccc3154753529b99048bf1abb2d9e (diff)
* eval.c (rb_f_require): move rb_file_s_expand_path from
rb_find_file_noext(). * file.c (rb_find_file_noext): move rb_file_s_expand_path to rb_f_require(). * string.c (rb_str_each_line): should propagate taint mark. * ext/nkf/nkf.c (rb_nkf_kconv): ditto. * ruby.c (load_file): local variables 'c' remain uninitialized on xflag. * regex.c (re_match): prefetched escaped character too early. * eval.c (rb_call0): add argument check for attr_readers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index eac3d8701c..7dcfed68d1 100644
--- a/ruby.c
+++ b/ruby.c
@@ -768,7 +768,7 @@ load_file(fname, script)
}
if (script) {
- VALUE c;
+ VALUE c = 1; /* something not nil */
VALUE line;
char *p;