commit | f6834d4c4031276361465dd19ef1918e239566c8 | [log] [tgz] |
---|---|---|
author | ajs <ajs> | Fri Jan 28 20:28:35 2005 +0000 |
committer | ajs <ajs> | Fri Jan 28 20:28:35 2005 +0000 |
tree | 67e9eb194ce4cef74654a888c0e165febc0010d2 | |
parent | 8bfb0cba005b37c7b125fe2a34f1819e85d9f59c [diff] |
2005-01-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * 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.