mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
- itojun@cvs.openbsd.org 2002/10/16 14:31:48
[sftp-common.c] 64bit pedant. %llu is "unsigned long long". markus ok
This commit is contained in:
parent
885929cd31
commit
0851381bf7
@ -1,3 +1,9 @@
|
|||||||
|
20021109
|
||||||
|
- (bal) OpenBSD CVS Sync
|
||||||
|
- itojun@cvs.openbsd.org 2002/10/16 14:31:48
|
||||||
|
[sftp-common.c]
|
||||||
|
64bit pedant. %llu is "unsigned long long". markus ok
|
||||||
|
|
||||||
20021021
|
20021021
|
||||||
- (djm) Bug #400: Kill ssh-rand-helper children on timeout, patch from
|
- (djm) Bug #400: Kill ssh-rand-helper children on timeout, patch from
|
||||||
dtucker@zip.com.au
|
dtucker@zip.com.au
|
||||||
@ -774,4 +780,4 @@
|
|||||||
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
||||||
ok provos@
|
ok provos@
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2499 2002/10/21 10:26:16 djm Exp $
|
$Id: ChangeLog,v 1.2500 2002/11/09 15:40:34 mouring Exp $
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: sftp-common.c,v 1.7 2002/09/11 22:41:50 djm Exp $");
|
RCSID("$OpenBSD: sftp-common.c,v 1.8 2002/10/16 14:31:48 itojun Exp $");
|
||||||
|
|
||||||
#include "buffer.h"
|
#include "buffer.h"
|
||||||
#include "bufaux.h"
|
#include "bufaux.h"
|
||||||
@ -208,6 +208,6 @@ ls_file(char *name, struct stat *st, int remote)
|
|||||||
glen = MAX(strlen(group), 8);
|
glen = MAX(strlen(group), 8);
|
||||||
snprintf(buf, sizeof buf, "%s %3d %-*s %-*s %8llu %s %s", mode,
|
snprintf(buf, sizeof buf, "%s %3d %-*s %-*s %8llu %s %s", mode,
|
||||||
st->st_nlink, ulen, user, glen, group,
|
st->st_nlink, ulen, user, glen, group,
|
||||||
(u_int64_t)st->st_size, tbuf, name);
|
(unsigned long long)st->st_size, tbuf, name);
|
||||||
return xstrdup(buf);
|
return xstrdup(buf);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user