[Issue 2783] Truncation of long string by std.stdio.write

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 2 05:40:31 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2783





------- Comment #2 from maxmo at pochta.ru  2009-04-02 07:40 -------
format.d
1623: short precision = short.max - 1;
2010: auto s = obj[0 .. f.precision < $ ? f.precision : $];
2016: w.write(s);

try std.stdio.write("%s",s2);


-- 



More information about the Digitalmars-d-bugs mailing list