Rev 3815 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3815 | Rev 3816 | ||
---|---|---|---|
Line 67... | Line 67... | ||
67 | return -1; |
67 | return -1; |
68 | 68 | ||
69 | return (int) t1; |
69 | return (int) t1; |
70 | } |
70 | } |
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, |
- | 73 | size_t blen, int vb) |
|
73 | { |
74 | { |
74 | int fd1, fd2, bytes = 0; |
75 | int fd1, fd2, bytes = 0; |
75 | off_t total = 0; |
76 | off_t total = 0; |
76 | int64_t copied = 0; |
77 | int64_t copied = 0; |
77 | char *buff = NULL; |
78 | char *buff = NULL; |