Commit 120cbac4 120cbac4197229d15bbf02f49c2b76c82e117e3f by Sergey Poznyakoff

further fixes to argcv.c

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