Project

General

Profile

Bug #8775 » dir.getwd.patch

jiayp@glodon.com (贾 延平), 08/11/2013 03:33 PM

View differences:

dir.c (working copy)
path = my_getcwd();
cwd = rb_tainted_str_new2(path);
rb_enc_associate(cwd, rb_filesystem_encoding());
cwd = rb_str_encode_ospath(cwd);
xfree(path);
return cwd;
    (1-1/1)