summaryrefslogtreecommitdiffstats
path: root/bin/rcp
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1999-04-25 10:36:00 +0000
committerdt <dt@FreeBSD.org>1999-04-25 10:36:00 +0000
commit6ec46c7bd77cfbf384c273795d0d8feba4761d72 (patch)
tree8f2280805e4983bf44a8f3e27d2f04f727d33a1d /bin/rcp
parent9eb5d65f021359e98fdcdeb863e66ab8dddd8d54 (diff)
downloadFreeBSD-src-6ec46c7bd77cfbf384c273795d0d8feba4761d72.zip
FreeBSD-src-6ec46c7bd77cfbf384c273795d0d8feba4761d72.tar.gz
Quick fix to allow transfer files >2GB.
Diffstat (limited to 'bin/rcp')
-rw-r--r--bin/rcp/rcp.c6
1 files changed, 3 insertions, 3 deletions
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 <sys/param.h>
@@ -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]
OpenPOWER on IntegriCloud