From 6ec46c7bd77cfbf384c273795d0d8feba4761d72 Mon Sep 17 00:00:00 2001 From: dt Date: Sun, 25 Apr 1999 10:36:00 +0000 Subject: Quick fix to allow transfer files >2GB. --- bin/rcp/rcp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/rcp') diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index 007741b..b2d5d4e 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -42,7 +42,7 @@ static char const copyright[] = static char sccsid[] = "@(#)rcp.c 8.2 (Berkeley) 4/2/94"; #endif static const char rcsid[] = - "$Id: rcp.c,v 1.20 1998/08/02 14:25:24 bde Exp $"; + "$Id: rcp.c,v 1.21 1998/10/09 06:31:45 markm Exp $"; #endif /* not lint */ #include @@ -570,9 +570,9 @@ sink(argc, argv) struct timeval tv[2]; enum { YES, NO, DISPLAYED } wrerr; BUF *bp; - off_t i, j; + off_t i, j, size; int amt, count, exists, first, mask, mode, ofd, omode; - int setimes, size, targisdir, wrerrno = 0; + int setimes, targisdir, wrerrno = 0; char ch, *cp, *np, *targ, *why, *vect[1], buf[BUFSIZ]; #define atime tv[0] -- cgit v1.1