Yesterday's fix makes argcv_get include trailing
whitespace to the argv 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.
Showing
1 changed file
with
6 additions
and
8 deletions
-
Please register or sign in to post a comment