OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dd9aa8
)
Fix common C ambiguity.
author
David Schleef
<ds@schleef.org>
Mon, 12 Nov 2001 03:10:42 +0000
(
03:10
-0000)
committer
David Schleef
<ds@schleef.org>
Mon, 12 Nov 2001 03:10:42 +0000
(
03:10
-0000)
test/args/arg_test.c
patch
|
blob
|
history
diff --git
a/test/args/arg_test.c
b/test/args/arg_test.c
index
b23e176
..
c32b7b3
100644
(file)
--- a/
test/args/arg_test.c
+++ b/
test/args/arg_test.c
@@
-31,8
+31,8
@@
int main( int argc, char **argv)
fprintf(stderr, "argc=%d\n", argc);
-
while(i<argc)
{
- fprintf(stderr, "argv[%d]='%s'\n", i, argv[i
++
]);
+
for(i=0;i<argc;i++)
{
+ fprintf(stderr, "argv[%d]='%s'\n", i, argv[i]);
}
i=0;