From f6834d4c4031276361465dd19ef1918e239566c8 Mon Sep 17 00:00:00 2001 From: ajs Date: Fri, 28 Jan 2005 20:28:35 +0000 Subject: 2005-01-28 Andrew J. Schorr * lib/command.h: Document behavior of argv_concat function. * lib/command.c: (argv_concat) Calculate total string length first so we can call malloc just once (instead of realloc'ing to add each string element). (do_echo,config_logmsg) Allow for possible NULL return value from argv_concat. --- lib/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/ChangeLog') diff --git a/lib/ChangeLog b/lib/ChangeLog index e3b7d377..750e310f 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,12 @@ +2005-01-28 Andrew J. Schorr + + * lib/command.h: Document behavior of argv_concat function. + * lib/command.c: (argv_concat) Calculate total string length first so + we can call malloc just once (instead of realloc'ing to add each + string element). + (do_echo,config_logmsg) Allow for possible NULL return value from + argv_concat. + 2005-01-23 Hasso Tepper * lib/command.[ch]: Make node_parent() function nonstatic. vtyh.c will -- cgit v1.2.1