On 21 June 2011 06:07, Kurt Van Dijck wrote:
> 1. the statusbar is set line by line. an essay that is put on the statusbar
> will give only the last line.
... My point was that you needn't use getline(), which reallocates
buffers to ensure that you can fit the entire line in a single string.
That
On Mon, Jun 20, 2011 at 06:15:01PM +0100, Connor Lane Smith wrote:
> On 20 June 2011 18:05, Hiltjo Posthuma wrote:
> > getline / getdelim (re)allocates buffers though. But yes a custom
> > function with fgets would be more compatible.
I ack here.
I regularly do use getline where fgets would not su