[Issue 12417] `toStringz` is fundamentally broken
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Mar 24 10:17:16 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=12417
--- Comment #6 from Denis Shelomovskij <verylonglogin.reg at gmail.com> ---
(In reply to John Colvin from comment #5)
> Well in that case we have a problem with all calls to C that follow this
> pattern:
>
> allocate some GC memory
> pass a pointer to said memory to C
> never refer to the memory again
As D's GC may eventually become a moving GC one mustn't do it anyway.
--
More information about the Digitalmars-d-bugs
mailing list