[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Huge file adventure (+patch)
From: |
Stefan Monnier |
Subject: |
Re: Huge file adventure (+patch) |
Date: |
Mon, 07 Oct 2013 15:03:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> You can remove the { between "else" and "if" (with the side-benefit that
>> the unchanged code will stay at the same indentation level).
> Argh, OK.
>> Where/how do you make sure we loop back here for the rest
>> (when end-start > E_WRITE_MAX) ?
> Did you mean 'end - start < E_WRITE_MAX'?
No.
> Or am I creating an endless loop in e_write (BTW, I don't see how)?
Oh, sorry, I now see that the "start += coding->consumed_char;" makes
sure that if we don't encode the whole text at once, the loop will come
back to let us finish.
Please install.
Stefan