diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-01 15:01:51 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-01 15:01:51 +0000 |
commit | 500be74c6a75652c4abbfa7048824f4a1c6fb153 (patch) | |
tree | b9dfa0c877d3e1575af4bfe5e15d075a1cfb9030 /file.c | |
parent | 5e13dd7b53eab210dd1cea28661a3a5a638a5bcd (diff) |
merges r29181 from trunk into ruby_1_9_2.
--
* file.c (rb_file_s_readlink): symlink target should be in
filesystem encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2446,7 +2446,7 @@ rb_file_s_readlink(VALUE klass, VALUE path) xfree(buf); rb_sys_fail_path(path); } - v = rb_tainted_str_new(buf, rv); + v = rb_filesystem_str_new(buf, rv); xfree(buf); return v; |