This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc reports Internal Error
Aargh, I should proofread.
Neil Booth wrote:-
> Suppose we read in a chunk of size N. If we can find the last newline,
> we can put a NUL after it (remembering what was there originally).
> If we can't find a newline, keep reading chunks until we do. Because
> of the range of newlines we find, it's best to actually replace the first
^handle
> newline char in the last string of newline chars, if you see what I
> mean.
Neil.