<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nagachika</author_name>
  <author_url>https://blog.hatena.ne.jp/nagachika/</author_url>
  <blog_title>ruby trunk changes</blog_title>
  <blog_url>https://ruby-trunk-changes.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>changes</anon>
  </categories>
  <description>nobu:r34348 2012-01-21 11:43:48 +0900 Dir.chdir で呼ばれる dir_chdir() という関数内部でエンコーディングの変換をするため新しい String オブジェクトが生成される可能性があり、その後その中身を利用する前にコンパイラの最適化によっては GC されてしまう可能性がある問題に対して、呼び元の dir_s_chdir() でエンコーディングの調整をしておいてそれを渡すようにしています。結局 dir_s_chdir() の最後に RB_GC_GURAD(path) はあったほうが良いような。 また check_dirname() を呼んでい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fruby-trunk-changes.hatenablog.com%2Fentry%2F20120121%2Fruby_trunk_changes_34348_34349&quot; title=&quot;ruby-trunk-changes r34348 - r34349 - ruby trunk changes&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-01-21 00:00:00</published>
  <title>ruby-trunk-changes r34348 - r34349</title>
  <type>rich</type>
  <url>https://ruby-trunk-changes.hatenablog.com/entry/20120121/ruby_trunk_changes_34348_34349</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
