diff options
author | 2000-08-24 21:46:59 +0000 | |
---|---|---|
committer | 2000-08-24 21:46:59 +0000 | |
commit | 1aa3e03811e6ff0636c2620f6e2d03555dcb0ac8 (patch) | |
tree | 9dc86a87209a98f3da6869e75e5b336f21ef073a | |
parent | Last change inadvertantly broke non-kerberos logins. It's not clear (diff) | |
download | wireguard-openbsd-1aa3e03811e6ff0636c2620f6e2d03555dcb0ac8.tar.xz wireguard-openbsd-1aa3e03811e6ff0636c2620f6e2d03555dcb0ac8.zip |
off_t in sink, to fix files > 2GB, i think, test is still running ;-)
-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; |