Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!OKEEFFE.BERKELEY.EDU!bostic From: bostic@OKEEFFE.BERKELEY.EDU (Keith Bostic) Newsgroups: comp.bugs.2bsd Subject: V1.11 (rcp can't handle files over 32K) Message-ID: <8710301944.AA10218@okeeffe.Berkeley.EDU> Date: Fri, 30-Oct-87 14:44:10 EST Article-I.D.: okeeffe.8710301944.AA10218 Posted: Fri Oct 30 14:44:10 1987 Date-Received: Wed, 4-Nov-87 22:39:56 EST Sender: daemon@ucbvax.BERKELEY.EDU Lines: 31 Subject: rcp can't handle files over 32K Index: bin/rcp.c 2.10BSD Description: Rcp has problems with files larger than 32K. It's a long/int problem (surprise!). Repeat-By: Try "rcp 4.3BSDmachine:/vmunix /dev/null" on a 2.10BSD system. Fix: Apply the following patch to rcp.c. *** rcp.c.old Fri Oct 30 10:52:48 1987 --- rcp.c Fri Oct 30 11:29:18 1987 *************** *** 476,482 **** { off_t i, j; char *targ, *whopp, *cp; ! int of, mode, wrerr, exists, first, count, amt, size; struct buffer *bp; static struct buffer buffer; struct stat stb; --- 476,483 ---- { off_t i, j; char *targ, *whopp, *cp; ! int of, mode, wrerr, exists, first, count, amt; ! off_t size; struct buffer *bp; static struct buffer buffer; struct stat stb;