https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112013-11-29T05:00:00ZRuby Issue Tracking SystemRuby master - Bug #9173: rb_sprintf %li format specifier does not work correctly with long values and can cause Ruby to crashhttps://bugs.ruby-lang.org/issues/9173?journal_id=432352013-11-29T05:00:00Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul></ul><p>This is now expected behavior. %i starting in 2.0 means you need to provide a ruby object (VALUE) argument, not an integer. You need to switch from %li to %ld.</p> Ruby master - Bug #9173: rb_sprintf %li format specifier does not work correctly with long values and can cause Ruby to crashhttps://bugs.ruby-lang.org/issues/9173?journal_id=433642013-12-02T23:19:40Zbladenkerst (Brad Sumersford)bladenkirst@gmail.com
<ul></ul><p>I was trying to find confirmation of the change before posting this issue but I was unable to find a reference. Thank-you for clarifying, this can be closed.</p> Ruby master - Bug #9173: rb_sprintf %li format specifier does not work correctly with long values and can cause Ruby to crashhttps://bugs.ruby-lang.org/issues/9173?journal_id=436582013-12-14T10:28:02Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Rejected</i></li></ul>