A new user interface for you! Read more...

File netkit-rsh-0.17-bigfile.diff of Package rsh

--- rcp/rcp.c
+++ rcp/rcp.c
@@ -483,7 +483,7 @@
 			}
 		}
 		(void)snprintf(buf, sizeof(buf),
-		    "C%04o %ld %s\n", stb.st_mode&07777, stb.st_size, last);
+		    "C%04o %lld %s\n", stb.st_mode&07777, (long long)(stb.st_size), last);
 		(void)write(rem, buf, (int)strlen(buf));
 		if (response() < 0) {
 			(void)close(f);
@@ -615,11 +615,11 @@
 	struct timeval tv[2];
 	enum { YES, NO, DISPLAYED } wrerr;
 	BUF *bp;
-	off_t i, j;
+	off_t i, j, size;
 	char ch, *targ;
 	const char *why;
 	int amt, count, exists, first, mask, mode;
-	int ofd, setimes, size, targisdir;
+	int ofd, setimes, targisdir;
 	char *np, *vect[1], buf[BUFSIZ];
 
 #define	atime	tv[0]