summaryrefslogtreecommitdiff
path: root/bin/rcp/rcp.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-11-21 15:35:29 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-11-21 15:35:29 +0000
commit37ad1f0cf4e7e1159aed4c1f2b14f27d9ad08147 (patch)
tree592b2cccb4461d9f6f1bd62a44a15798741dde3b /bin/rcp/rcp.c
parent34419f829468dc245b1caf05922db5c2778b7c50 (diff)
2GB fix (int->off_t) similar to scp; daniel@lucq.org
Diffstat (limited to 'bin/rcp/rcp.c')
-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 8393517157c..5e9126277ba 100644
--- a/bin/rcp/rcp.c
+++ b/bin/rcp/rcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcp.c,v 1.24 2001/10/01 08:06:28 markus Exp $ */
+/* $OpenBSD: rcp.c,v 1.25 2001/11/21 15:35:28 markus Exp $ */
/* $NetBSD: rcp.c,v 1.9 1995/03/21 08:19:06 cgd Exp $ */
/*
@@ -551,9 +551,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]