Rev 3642 | Rev 3645 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3642 | Rev 3643 | ||
|---|---|---|---|
| Line 71... | Line 71... | ||
| 71 | 71 | ||
| 72 | static int64_t copy_file(const char *src, const char *dest, size_t blen, int vb) |
72 | static int64_t copy_file(const char *src, const char *dest, size_t blen, int vb) |
| 73 | { |
73 | { |
| 74 | int fd1, fd2, bytes = 0; |
74 | int fd1, fd2, bytes = 0; |
| 75 | off_t total = 0; |
75 | off_t total = 0; |
| 76 | int copied = -1; |
76 | int64_t copied = -1; |
| 77 | char *buff = NULL; |
77 | char *buff = NULL; |
| 78 | 78 | ||
| 79 | if (vb) |
79 | if (vb) |
| 80 | printf("Copying %s to %s\n", src, dest); |
80 | printf("Copying %s to %s\n", src, dest); |
| 81 | 81 | ||