Annotation of /trunk/netkit-rsh/patches/netkit-rsh-0.17-lfs.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 774 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 774 byte(s)
-import
1 | niro | 153 | --- netkit-rsh-0.17/rcp/rcp.c.bigfile 2003-01-17 16:06:44.000000000 +0200 |
2 | +++ netkit-rsh-0.17/rcp/rcp.c 2003-01-17 16:08:48.000000000 +0200 | ||
3 | @@ -482,7 +482,7 @@ | ||
4 | } | ||
5 | } | ||
6 | (void)snprintf(buf, sizeof(buf), | ||
7 | - "C%04o %ld %s\n", stb.st_mode&07777, stb.st_size, last); | ||
8 | + "C%04o %lld %s\n", stb.st_mode&07777, (long long)(stb.st_size), last); | ||
9 | (void)write(rem, buf, (int)strlen(buf)); | ||
10 | if (response() < 0) { | ||
11 | (void)close(f); | ||
12 | @@ -614,11 +614,11 @@ | ||
13 | struct timeval tv[2]; | ||
14 | enum { YES, NO, DISPLAYED } wrerr; | ||
15 | BUF *bp; | ||
16 | - off_t i, j; | ||
17 | + off_t i, j, size; | ||
18 | char ch, *targ; | ||
19 | const char *why; | ||
20 | int amt, count, exists, first, mask, mode; | ||
21 | - int ofd, setimes, size, targisdir; | ||
22 | + int ofd, setimes, targisdir; | ||
23 | char *np, *vect[1], buf[BUFSIZ]; | ||
24 | |||
25 | #define atime tv[0] |