git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fish: Fix off-by-one bug in tilde expansion.
[libguestfs.git]
/
fish
/
fish.c
diff --git
a/fish/fish.c
b/fish/fish.c
index
50340a3
..
265464e
100644
(file)
--- a/
fish/fish.c
+++ b/
fish/fish.c
@@
-224,7
+224,7
@@
main (int argc, char *argv[])
* getopt_long uses argv[0], so give it the sanitized name. Save a copy
* of the original, in case it's needed below.
*/
* getopt_long uses argv[0], so give it the sanitized name. Save a copy
* of the original, in case it's needed below.
*/
- char *real_argv0 = argv[0];
+
//
char *real_argv0 = argv[0];
argv[0] = bad_cast (program_name);
for (;;) {
argv[0] = bad_cast (program_name);
for (;;) {
@@
-854,7
+854,7
@@
issue_command (const char *cmd, char *argv[], const char *pipecmd)
int argc;
int stdout_saved_fd = -1;
int pid = 0;
int argc;
int stdout_saved_fd = -1;
int pid = 0;
- int
i,
r;
+ int r;
reset_progress_bar ();
reset_progress_bar ();