diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-24 02:52:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-24 02:52:08 +0000 |
commit | 37e11f3cce5dc533379117d216c09120b6546c26 (patch) | |
tree | d7bd385b2c33db30d80e573f9a370a2f4521e812 /load.c | |
parent | 9afa9ba9673370d98d433ba24c06282ca8f1e5e8 (diff) | |
download | ruby-37e11f3cce5dc533379117d216c09120b6546c26.tar.gz |
* dln.c (translit_separator): moved back from load.c again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'load.c')
-rw-r--r-- | load.c | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -536,17 +536,8 @@ load_failed(VALUE fname) static VALUE load_ext(VALUE path) { - VALUE result; - SCOPE_SET(NOEX_PUBLIC); -#if defined DLN_NEEDS_ALT_SEPARATOR && DLN_NEEDS_ALT_SEPARATOR - translit_char(RSTRING_PTR(path), '/', '\\'); -#endif - result = (VALUE)dln_load(RSTRING_PTR(path)); -#if defined DLN_NEEDS_ALT_SEPARATOR && DLN_NEEDS_ALT_SEPARATOR - translit_char(RSTRING_PTR(path), '\\', '/'); -#endif - return result; + return (VALUE)dln_load(RSTRING_PTR(path)); } VALUE |