summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-04 14:48:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-04 14:48:55 +0000
commit0fd37b09ee800e051fcfb433f50c70a81d811813 (patch)
tree95dd60ec0e421e373039779e08e4671acc67d906 /file.c
parent097d58a594984674475cd271fb206ca940e90552 (diff)
* file.c (rb_file_s_readlink): symlink target should be in
filesystem encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29181 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 9f04b5f838..03f40942d8 100644
--- a/file.c
+++ b/file.c
@@ -2451,7 +2451,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;