summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-01 15:01:51 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-01 15:01:51 +0000
commit500be74c6a75652c4abbfa7048824f4a1c6fb153 (patch)
treeb9dfa0c877d3e1575af4bfe5e15d075a1cfb9030 /file.c
parent5e13dd7b53eab210dd1cea28661a3a5a638a5bcd (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 0f1e24ba2e..6232f7f46e 100644
--- a/file.c
+++ b/file.c
@@ -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;