git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cat: Fix documentation of -x option in usage.
[libguestfs.git]
/
fish
/
copy.c
diff --git
a/fish/copy.c
b/fish/copy.c
index
bb6334c
..
9f3f3df
100644
(file)
--- a/
fish/copy.c
+++ b/
fish/copy.c
@@
-22,6
+22,7
@@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
@@
-33,7
+34,7
@@
static int make_tar_output (const char *local, const char *basename);
static int split_path (char *buf, size_t buf_size, const char *path, const char **dirname, const char **basename);
int
static int split_path (char *buf, size_t buf_size, const char *path, const char **dirname, const char **basename);
int
-run_copy_in (const char *cmd,
in
t argc, char *argv[])
+run_copy_in (const char *cmd,
size_
t argc, char *argv[])
{
if (argc < 2) {
fprintf (stderr,
{
if (argc < 2) {
fprintf (stderr,
@@
-176,7
+177,7
@@
tar_create (const char *dir, const char *path)
}
int
}
int
-run_copy_out (const char *cmd,
in
t argc, char *argv[])
+run_copy_out (const char *cmd,
size_
t argc, char *argv[])
{
if (argc < 2) {
fprintf (stderr,
{
if (argc < 2) {
fprintf (stderr,