summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--scp.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index efbc64644..f30048e54 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
120010317 120010317
2 - Support usrinfo() on AIX. Based on patch from Gert Doering 2 - Support usrinfo() on AIX. Based on patch from Gert Doering
3 <gert@greenie.muc.de> 3 <gert@greenie.muc.de>
4 - OpenBSD CVS Sync
5 - markus@cvs.openbsd.org 2001/03/15 15:05:59
6 [scp.c]
7 use %lld in printf, ok millert@/deraadt@; report from ssh@client.fi
4 8
520010315 920010315
6 - OpenBSD CVS Sync 10 - OpenBSD CVS Sync
@@ -4563,4 +4567,4 @@
4563 - Wrote replacements for strlcpy and mkdtemp 4567 - Wrote replacements for strlcpy and mkdtemp
4564 - Released 1.0pre1 4568 - Released 1.0pre1
4565 4569
4566$Id: ChangeLog,v 1.961 2001/03/16 23:29:50 djm Exp $ 4570$Id: ChangeLog,v 1.962 2001/03/17 00:10:20 mouring Exp $
diff --git a/scp.c b/scp.c
index c8bb2d333..66e46dd22 100644
--- a/scp.c
+++ b/scp.c
@@ -75,7 +75,7 @@
75 */ 75 */
76 76
77#include "includes.h" 77#include "includes.h"
78RCSID("$OpenBSD: scp.c,v 1.60 2001/03/02 18:54:31 deraadt Exp $"); 78RCSID("$OpenBSD: scp.c,v 1.61 2001/03/15 15:05:59 markus Exp $");
79 79
80#include "xmalloc.h" 80#include "xmalloc.h"
81#include "atomicio.h" 81#include "atomicio.h"
@@ -545,9 +545,9 @@ syserr: run_err("%s: %s", name, strerror(errno));
545 goto next; 545 goto next;
546 } 546 }
547#define FILEMODEMASK (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO) 547#define FILEMODEMASK (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO)
548 snprintf(buf, sizeof buf, "C%04o %lu %s\n", 548 snprintf(buf, sizeof buf, "C%04o %lld %s\n",
549 (u_int) (stb.st_mode & FILEMODEMASK), 549 (u_int) (stb.st_mode & FILEMODEMASK),
550 (u_long) stb.st_size, last); 550 stb.st_size, last);
551 if (verbose_mode) { 551 if (verbose_mode) {
552 fprintf(stderr, "Sending file modes: %s", buf); 552 fprintf(stderr, "Sending file modes: %s", buf);
553 fflush(stderr); 553 fflush(stderr);