- (bal) Fixed scp type casing issue which causes "scp: protocol error:
size not delimited" fatal errors when tranfering.
This commit is contained in:
parent
45b14dbddc
commit
fea7278d90
|
@ -1,3 +1,7 @@
|
||||||
|
20010318
|
||||||
|
- (bal) Fixed scp type casing issue which causes "scp: protocol error:
|
||||||
|
size not delimited" fatal errors when tranfering.
|
||||||
|
|
||||||
20010317
|
20010317
|
||||||
- Support usrinfo() on AIX. Based on patch from Gert Doering
|
- Support usrinfo() on AIX. Based on patch from Gert Doering
|
||||||
<gert@greenie.muc.de>
|
<gert@greenie.muc.de>
|
||||||
|
@ -4586,4 +4590,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.968 2001/03/17 01:15:38 mouring Exp $
|
$Id: ChangeLog,v 1.969 2001/03/17 18:07:46 mouring Exp $
|
||||||
|
|
2
scp.c
2
scp.c
|
@ -547,7 +547,7 @@ syserr: run_err("%s: %s", name, strerror(errno));
|
||||||
#define FILEMODEMASK (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO)
|
#define FILEMODEMASK (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO)
|
||||||
snprintf(buf, sizeof buf, "C%04o %lld %s\n",
|
snprintf(buf, sizeof buf, "C%04o %lld %s\n",
|
||||||
(u_int) (stb.st_mode & FILEMODEMASK),
|
(u_int) (stb.st_mode & FILEMODEMASK),
|
||||||
stb.st_size, last);
|
(long long) stb.st_size, last);
|
||||||
if (verbose_mode) {
|
if (verbose_mode) {
|
||||||
fprintf(stderr, "Sending file modes: %s", buf);
|
fprintf(stderr, "Sending file modes: %s", buf);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
|
|
Loading…
Reference in New Issue