git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Debian: Extra packages needed to run C API tests.
[libguestfs.git]
/
fish
/
glob.c
diff --git
a/fish/glob.c
b/fish/glob.c
index
e17a9ad
..
509532b
100644
(file)
--- a/
fish/glob.c
+++ b/
fish/glob.c
@@
-28,10
+28,10
@@
/* A bit tricky because in the case where there are multiple
* paths we have to perform a Cartesian product.
*/
/* A bit tricky because in the case where there are multiple
* paths we have to perform a Cartesian product.
*/
-static void glob_issue (char *cmd,
in
t argc, char ***globs, int *posn, int *count, int *r);
+static void glob_issue (char *cmd,
size_
t argc, char ***globs, int *posn, int *count, int *r);
int
int
-run_glob (const char *cmd,
in
t argc, char *argv[])
+run_glob (const char *cmd,
size_
t argc, char *argv[])
{
/* For 'glob cmd foo /s* /usr/s*' this could be:
*
{
/* For 'glob cmd foo /s* /usr/s*' this could be:
*
@@
-46,7
+46,8
@@
run_glob (const char *cmd, int argc, char *argv[])
char **globs[argc];
int posn[argc];
int count[argc];
char **globs[argc];
int posn[argc];
int count[argc];
- int i, r = 0;
+ size_t i;
+ int r = 0;
if (argc < 1) {
fprintf (stderr, _("use 'glob command [args...]'\n"));
if (argc < 1) {
fprintf (stderr, _("use 'glob command [args...]'\n"));
@@
-129,11
+130,11
@@
run_glob (const char *cmd, int argc, char *argv[])
}
static void
}
static void
-glob_issue (char *cmd,
in
t argc,
+glob_issue (char *cmd,
size_
t argc,
char ***globs, int *posn, int *count,
int *r)
{
char ***globs, int *posn, int *count,
int *r)
{
-
in
t i;
+
size_
t i;
char *argv[argc+1];
argv[0] = cmd;
char *argv[argc+1];
argv[0] = cmd;