version 1.117, 2010/01/08 21:50:49 |
version 1.118, 2010/01/09 11:13:02 |
|
|
/* Skip leading whitespace */ |
/* Skip leading whitespace */ |
cp = cp + strspn(cp, WHITESPACE); |
cp = cp + strspn(cp, WHITESPACE); |
|
|
/* Ignore blank lines and lines which begin with comment '#' char */ |
|
if (*cp == '\0' || *cp == '#') |
|
return (0); |
|
|
|
/* Check for leading '-' (disable error processing) */ |
/* Check for leading '-' (disable error processing) */ |
*iflag = 0; |
*iflag = 0; |
if (*cp == '-') { |
if (*cp == '-') { |
*iflag = 1; |
*iflag = 1; |
cp++; |
cp++; |
|
cp = cp + strspn(cp, WHITESPACE); |
} |
} |
|
|
|
/* Ignore blank lines and lines which begin with comment '#' char */ |
|
if (*cp == '\0' || *cp == '#') |
|
return (0); |
|
|
if ((argv = makeargv(cp, &argc, 0, NULL, NULL)) == NULL) |
if ((argv = makeargv(cp, &argc, 0, NULL, NULL)) == NULL) |
return -1; |
return -1; |