#608: rb_str_format() does not handle the "field width" flag for strings ----------------------------------------+----------------------------------- Reporter: martinlagardette@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- Comment(by danielcavanagh@…): you're right it's not pretty, and it's not enough too, because %b is also broken (because it too is tranformed to %@) and to support it fully we need to duplicate a lot of the cf sprintf code (absolute references code and named references are missing too), plus the full generic number printing code (precision, infinite negatives, padding, and so on) so a complete macruby sprintf has to be written, basically, which is what i'm doing at the moment. i've got it mostly working and am just ironing out some bugs. i've attached a draft patch if anyone is interested. no guarantees it compiles... :p -- Ticket URL: <http://www.macruby.org/trac/ticket/608#comment:1> MacRuby <http://macruby.org/>