[Patch v2 2/3] util: add gzreadline

David Bremner david at tethera.net
Sun Mar 30 04:03:16 PDT 2014


David Bremner <david at tethera.net> writes:


> +	if (!gzgets (stream, buf + offset, len))
> +	    return -1;

I did find one bug by setting the initial line size to 2. This should
read "len - offset".




More information about the notmuch mailing list