Commit 120cbac4 120cbac4197229d15bbf02f49c2b76c82e117e3f by Sergey Poznyakoff

further fixes to argcv.c

1 parent 5c1ea023
2002-02-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
* lib/argcv.c: Yesterday's fix makes argcv_get include trailing
whitespace to the arg array. To fix:
(argcv_scan): Return len+1 if called on or after
the terminating null character.
(argcv_get): Initialize *argc to zero and continue scanning
until argcv_scan return is > len. Thanks Sam for noticing.
2002-02-22 Sergey Poznyakoff
* lib/argcv.c (argcv_get): Bugfix, *argc must be initialized to 1.
......