lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Craig Barnes once stated:
> On 19 February 2014 16:41, René Rebe <rene@exactcode.de> wrote:
> > Who said it was impossible? A simple loop fixing this issue was presented by
> > Francisco.
> 
> No one did. It was just in reply to:
> 
> > Amazing how much energy goes into preventing other people to improve something
> 
> Your previous patch looks promising.

  It has a bug.  If the "line" read in is LUAL_BUFFERSIZE bytes (or longer)
in size, *and* the byte *at* LUAL_BUFFERSIZE is 0, then the routine returns
a corrupted line.

  -spc (It's not a matter if "if", it's only a matter of "when")