diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-08-24 21:47:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-08-24 21:47:00 +0000 |
commit | aaf1b970e47f49200c640494aa228a2d0bf27362 (patch) | |
tree | 48dbc2d53d189418ddac5b0e0389dc0b48916eb1 /usr.bin/ssh/scp.c | |
parent | 1629864a2457748c84d681252854f8e1b6a91a56 (diff) |
off_t in sink, to fix files > 2GB, i think, test is still running ;-)
Diffstat (limited to 'usr.bin/ssh/scp.c')
-rw-r--r-- | usr.bin/ssh/scp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c index e54f72d1bbb..8f8ebb8742b 100644 --- a/usr.bin/ssh/scp.c +++ b/usr.bin/ssh/scp.c @@ -47,7 +47,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: scp.c,v 1.35 2000/08/19 02:50:07 deraadt Exp $"); +RCSID("$OpenBSD: scp.c,v 1.36 2000/08/24 21:46:59 deraadt Exp $"); #include "ssh.h" #include "xmalloc.h" @@ -672,7 +672,8 @@ sink(argc, argv) BUF *bp; off_t i, j; int amt, count, exists, first, mask, mode, ofd, omode; - int setimes, size, targisdir, wrerrno = 0; + off_t size; + int setimes, targisdir, wrerrno = 0; char ch, *cp, *np, *targ, *why, *vect[1], buf[2048]; struct utimbuf ut; int dummy_usec; |