further fixes to argcv.c
Showing
1 changed file
with
9 additions
and
0 deletions
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. | ... | ... |
-
Please register or sign in to post a comment