[Issue 8730] writeln stops on a nul character, even if passed a D string
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 9 20:57:48 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8730
Brad Roberts <braddr at puremagic.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |braddr at puremagic.com
--- Comment #4 from Brad Roberts <braddr at puremagic.com> 2012-10-09 20:33:42 PDT ---
Shouldn't this be trivial to fix:
Replace:
fprintf(.stdout.p.handle, "%.*s\n",
cast(int) args[0].length, args[0].ptr)
with:
fwrite(args[0].ptr, 1, args[0].length, .stdout.p.handle)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list