Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug with long multiline strings?



On Wed, 24 Oct 2012 17:10:23 +0100
Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> Also, it
> shouldn't need to reallocate at all until there are 256 characters in
> the input token, which you haven't got close to.

Scratch that: it's initialised at the top of the file to 256, then
initialised when reading a token to 32, which is a bit wayward.  So I
think probably your buffer size has been doubled once and is failing on
the second doubling.

pws



Messages sorted by: Reverse Date, Date, Thread, Author