https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112014-05-25T02:56:43ZRuby Issue Tracking SystemRuby master - Bug #9861: BSD_vfprintf precsion doesn't work at shorter stringhttps://bugs.ruby-lang.org/issues/9861?journal_id=468632014-05-25T02:56:43Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset r46098.</p>
<hr>
<p>vsnprintf.c: fix string precision</p>
<ul>
<li>vsnprintf.c (BSD_vfprintf): fix string width when precision is<br>
given. as the result of <code>memchr</code> is NULL or its offset from the<br>
start cannot exceed the size, the comparison was always false.<br>
<a href="/issues/9861">[ruby-core:62737]</a> [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: BSD_vfprintf precsion doesn't work at shorter string (Closed)" href="https://bugs.ruby-lang.org/issues/9861">#9861</a>]</li>
</ul> Ruby master - Bug #9861: BSD_vfprintf precsion doesn't work at shorter stringhttps://bugs.ruby-lang.org/issues/9861?journal_id=474142014-06-27T08:46:28Zusa (Usaku NAKAMURA)usa@garbagecollect.jp
<ul></ul><p>backported into <code>ruby_2_0_0</code> at r46582.</p> Ruby master - Bug #9861: BSD_vfprintf precsion doesn't work at shorter stringhttps://bugs.ruby-lang.org/issues/9861?journal_id=474152014-06-27T08:46:39Zusa (Usaku NAKAMURA)usa@garbagecollect.jp
<ul><li><strong>Backport</strong> changed from <i>2.0.0: REQUIRED, 2.1: REQUIRED</i> to <i>2.0.0: DONE, 2.1: REQUIRED</i></li></ul> Ruby master - Bug #9861: BSD_vfprintf precsion doesn't work at shorter stringhttps://bugs.ruby-lang.org/issues/9861?journal_id=474452014-06-29T17:17:45Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.0.0: DONE, 2.1: REQUIRED</i> to <i>2.0.0: DONE, 2.1: DONE</i></li></ul><p>Backported into <code>ruby_2_1</code> branch at r46611.</p>