projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8add4ac
)
(main): Fix my typo: s/argv[optind]/file[i]/.
author
Jim Meyering
<jim@meyering.net>
Wed, 15 Jun 2005 08:54:21 +0000
(08:54 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 15 Jun 2005 08:54:21 +0000
(08:54 +0000)
src/install.c
patch
|
blob
|
history
diff --git
a/src/install.c
b/src/install.c
index
0fa08a2
..
b3d4129
100644
(file)
--- a/
src/install.c
+++ b/
src/install.c
@@
-360,7
+360,7
@@
main (int argc, char **argv)
int cwd_errno = 0;
for (i = 0; i < n_files; i++)
{
- if (cwd_errno != 0 && IS_RELATIVE_FILE_NAME (
argv[optind
]))
+ if (cwd_errno != 0 && IS_RELATIVE_FILE_NAME (
file[i
]))
{
error (0, cwd_errno, _("cannot return to working directory"));
ok = false;