[Issue 9421] (Compiler internals) Change OutBuffer's interface
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 6 18:22:48 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9421
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-06 18:22:42 PST ---
(In reply to comment #0)
> Using OutBuffer makes it easy to forget to zero-terminate strings and create
> dangling pointers. I'm think we should make OutBuffer a little less error
> prone.
>
> Changes:
> - Get rid of toChars
There's also toString, which seems to be almost the same as toChars. And the
OutBuffer implementation is split across src/root/root.c and
src/backend/outbuf.c
--
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