From aaf1b970e47f49200c640494aa228a2d0bf27362 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 24 Aug 2000 21:47:00 +0000 Subject: off_t in sink, to fix files > 2GB, i think, test is still running ;-) --- usr.bin/ssh/scp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin') 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; -- cgit v1.2.3