diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-19 05:03:30 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-19 05:03:30 +0000 |
| commit | 1031c207140cd3d3a02305539f128f044e2e006b (patch) | |
| tree | 4027605922fe0f0c9a7659d7d9b6d036b5d1dc27 /eval.c | |
| parent | d1b83a59efaea9d66be7bb78e5f413305c811177 (diff) | |
* configure.in (DEPRECATED): backported from trunk.
* eval.c (rb_mod_autoload): should use SafeStringValue() instead
obsolete Check_SafeStr().
* ruby.h (rb_check_safe_str, rb_str2cstr): deprecation warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8388,7 +8388,7 @@ rb_mod_autoload(mod, sym, file) { ID id = rb_to_id(sym); - Check_SafeStr(file); + SafeStringValue(file); rb_autoload(mod, id, RSTRING(file)->ptr); return Qnil; } |
