Tomi Ollila writes: > On Wed, Apr 02 2014, Austin Clements <[email protected]> wrote: > >> Quoth David Bremner on Apr 01 at 10:16 pm: >> >>> + if (len == 0 || buf == NULL) { >>> + /* same as getdelim from gnulib */ >>> + len = 120; >> >> This is presumably because glibc's malloc has an 8 byte header. Fun >> fact: talloc has a 104 byte header (on 64-bit and including the malloc >> header). > > hmm, what should we choose here? 152 ? Some bikeshedding on IRC ?
When your done with this bikeshed, do not forget the other oneĀ : >>> + len *= 2; -- Kim Minh. _______________________________________________ notmuch mailing list [email protected] http://notmuchmail.org/mailman/listinfo/notmuch
