http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46534

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-18 
11:52:48 UTC ---
(In reply to comment #3)
> Because it needs to modify it first (overwrite '\n' with '\0').

?

just pass a proper length, build_string will append a \0, no?  That said,
if build_string doesn't work, create a variant that will do.  No need
to copy twice.  Really.

Reply via email to