projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40da8b6
)
(main): Make sure correct value is seen as argv[0] after adjustment of
author
drepper
<drepper>
Thu, 19 Dec 2002 17:08:51 +0000
(17:08 +0000)
committer
drepper
<drepper>
Thu, 19 Dec 2002 17:08:51 +0000
(17:08 +0000)
argv, and argc.
test-skeleton.c
patch
|
blob
|
history
diff --git
a/test-skeleton.c
b/test-skeleton.c
index
78a88dc
..
24f8fb8
100644
(file)
--- a/
test-skeleton.c
+++ b/
test-skeleton.c
@@
-225,6
+225,7
@@
main (int argc, char *argv[])
atexit (delete_temp_files);
/* Correct for the possible parameters. */
+ argv[optind - 1] = argv[0];
argv += optind - 1;
argc -= optind - 1;