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

Re: read -q broken on OSX / BSD?



On Sun, 06 Jan 2013 14:13:07 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Jan 6,  6:47pm, Peter Stephenson wrote:
> }
> } That does seem to have gone missing.
> 
> So we have competing patches again.  I've already committed mine, but
> it seems I may have gotten the value of bptr wrong?

Yes, I don't think it should include the null.

Now I look, if we're going to tinker like that, the zfree(buf, bptr -
buf + 1) becomes a bit dodgy, too.

-- 
Peter Stephenson <p.stephenson@xxxxxxxxxxx>       Consultant, Software
Tel: +44 (0)1223 434724              Samsung Cambridge Solution Centre
St John's House, St John's Innovation Park,
Cowley Road, Cambridge, CB4 0ZT, UK



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