diff options
author | Jim Meyering <jim@meyering.net> | 1999-04-11 01:32:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-04-11 01:32:28 +0000 |
commit | 03e24361ee6488c8996aa921ffd754325e446549 (patch) | |
tree | 4883079e919ab945b4f03b5239d28895e776477e | |
parent | 24c8bc71079a02bd5caefbe453046da4658aba49 (diff) | |
download | coreutils-03e24361ee6488c8996aa921ffd754325e446549.tar.xz |
(scanargs): Fix bug introduced with last change: now that
the loop is gone, manually decrement argc and increment argv.
-rw-r--r-- | src/dd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -584,6 +584,9 @@ scanargs (int argc, char **argv) { int i; + --argc; + ++argv; + for (i = optind; i < argc; i++) { char *name, *val; |