summaryrefslogtreecommitdiffstats
path: root/test/pathname
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-18 09:29:01 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-18 09:29:01 +0000
commita28628c85f6d28647b8cbe700bebb045352f11c0 (patch)
tree48ff0d3f98868bd89bb8d116c2073b165b80c031 /test/pathname
parent8b9a8a6c2078636376eae8d7eb892824cfff8a0b (diff)
downloadruby-a28628c85f6d28647b8cbe700bebb045352f11c0.tar.gz
ruby-a28628c85f6d28647b8cbe700bebb045352f11c0.tar.xz
ruby-a28628c85f6d28647b8cbe700bebb045352f11c0.zip
* transcode.c (enc_arg): must take pointer argument to avoid GC
problem. StringValueCStr modifies the argument and it should be preserved while the string StringValueCStr returns is used. Since the string is used by caller, the modified argument should be hold by caller. Actually GC.stress = true def (o=Object.new).to_str() "universal"+"_newline" end "\u3042".encode(o, "")' causes curious warning: rb_define_const: invalid name `' for constant git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/pathname')
0 files changed, 0 insertions, 0 deletions