From: kwc@citi.umich.edu Date: Mon, 3 Jul 2006 22:34:33 +0000 (-0400) Subject: Change default buffer size increment for readline() X-Git-Tag: nfs-utils-1-0-9~20 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=ee664fd246d77010af13fb557407c612752a5ea8;hp=ee664fd246d77010af13fb557407c612752a5ea8 Change default buffer size increment for readline() Signed-off-by: Kevin Coffman The readline routine expects much smaller messages than we are passing. Change the default initial allocation and increment value from 128 to 2048. This saves many calls to realloc(). ---