[Issue 8730] writeln stops on a nul character, even if passed a D string

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 15 03:53:36 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=8730


Musashi Tamura <yuri.musashi.miwa.tamura at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yuri.musashi.miwa.tamura at gm
                   |                            |ail.com


--- Comment #6 from Musashi Tamura <yuri.musashi.miwa.tamura at gmail.com> 2013-12-15 03:53:31 PST ---
write("test\0gone\n");
write("test\0gone", '\n');
writeln("test\0gon", "e");

All of the above code outputs NUL.
I expect writeln("test\0gone") has the same behavior.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list