Magellan Linux

Annotation of /trunk/netkit-rsh/netkit-rsh-0.17-lfs.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 97 - (hide annotations) (download)
Fri Jan 19 23:50:26 2007 UTC (17 years, 4 months ago) by niro
File size: 774 byte(s)
new files

1 niro 97 --- 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]