- (bal) Small fix to scp. %lu vs %ld
This commit is contained in:
parent
6cabb6fd6c
commit
8feff4542e
|
@ -9,8 +9,9 @@
|
||||||
- (djm) Make scp work on systems without 64-bit ints
|
- (djm) Make scp work on systems without 64-bit ints
|
||||||
- tim@mindrot.org 2001/03/18 18:28:39 [defines.h]
|
- tim@mindrot.org 2001/03/18 18:28:39 [defines.h]
|
||||||
move HAVE_LONG_LONG_INT where it works
|
move HAVE_LONG_LONG_INT where it works
|
||||||
- Use 'NGROUPS' for NeXT Since 'MAX_NGROUPS' is wrapped up in -lposix
|
- (bal) Use 'NGROUPS' for NeXT Since 'MAX_NGROUPS' is wrapped up in -lposix
|
||||||
stuff. Change suggested by Mark Miller <markm@swoon.net>
|
stuff. Change suggested by Mark Miller <markm@swoon.net>
|
||||||
|
- (bal) Small fix to scp. %lu vs %ld
|
||||||
|
|
||||||
20010318
|
20010318
|
||||||
- (bal) Fixed scp type casing issue which causes "scp: protocol error:
|
- (bal) Fixed scp type casing issue which causes "scp: protocol error:
|
||||||
|
@ -4610,4 +4611,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.977 2001/03/19 03:01:56 mouring Exp $
|
$Id: ChangeLog,v 1.978 2001/03/19 03:09:40 mouring Exp $
|
||||||
|
|
4
scp.c
4
scp.c
|
@ -551,9 +551,9 @@ syserr: run_err("%s: %s", name, strerror(errno));
|
||||||
(long long) stb.st_size, last);
|
(long long) stb.st_size, last);
|
||||||
#else
|
#else
|
||||||
/* XXX: Handle integer overflow? */
|
/* XXX: Handle integer overflow? */
|
||||||
snprintf(buf, sizeof buf, "C%04o %ld %s\n",
|
snprintf(buf, sizeof buf, "C%04o %lu %s\n",
|
||||||
(u_int) (stb.st_mode & FILEMODEMASK),
|
(u_int) (stb.st_mode & FILEMODEMASK),
|
||||||
(long) stb.st_size, last);
|
(u_long) stb.st_size, last);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (verbose_mode) {
|
if (verbose_mode) {
|
||||||
|
|
Loading…
Reference in New Issue