<?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>
  </categories>
  <description>今日は Dir.glob の引数に Array が渡されて、その Array が処理中に変更された時の不具合修正などがありました。 [c7d668801b] Nobuyoshi Nakada 2020-03-24 16:23:03 UTC Dir.glob の引数に渡した Array が ruby のメソッドを呼ばれた時に変更されてしまうと SEGV する可能性があったので、渡された配列の内容をコピーした新しいインスタンスを作ってそれを利用するようにしています。 テストみると to_path メソッドを定義してそこで渡した配列を clear したりしているのでそうそう起きるものではなさそう。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fruby-trunk-changes.hatenablog.com%2Fentry%2Fruby_trunk_changes_20200325&quot; title=&quot;ruby-trunk-changes 2020-03-25 - 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>2020-03-25 21:02:39</published>
  <title>ruby-trunk-changes 2020-03-25</title>
  <type>rich</type>
  <url>https://ruby-trunk-changes.hatenablog.com/entry/ruby_trunk_changes_20200325</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
