diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-09 18:11:20 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-09 22:01:07 +0200 |
commit | 81abbb8d3ba808d5ac87dc3c087881482beb88b7 (patch) | |
tree | da84b9943355009c04697a46e869734dfa9f2e2c | |
parent | 7149995536739b984a2a832f8ee725e9de3832dc (diff) | |
download | build-81abbb8d3ba808d5ac87dc3c087881482beb88b7.tar.gz |
Process first character of line too
-rw-r--r-- | build.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ main(int argc, char *argv[]) /* parse line */ b = buf; - for (b++; *b; b++) { + for (; *b; b++) { /* command line */ if (strncmp(b, " $ ", 3) == 0 || strncmp(b, " $ ", 3) == 0) { |