mirror of git://anongit.mindrot.org/openssh.git
- (tim) [sftp-client.c] Use of a gcc extension trips up native compilers on
Solaris and UnixWare. Feedback and OK djm@
This commit is contained in:
parent
e9e936d33b
commit
ed899eb597
|
@ -32,6 +32,8 @@
|
|||
- djm@cvs.openbsd.org 2013/06/21 02:26:26
|
||||
[regress/sftp-cmds.sh regress/test-exec.sh]
|
||||
unbreak sftp-cmds for renamed test data (s/ls/data/)
|
||||
- (tim) [sftp-client.c] Use of a gcc extension trips up native compilers on
|
||||
Solaris and UnixWare. Feedback and OK djm@
|
||||
|
||||
20130720
|
||||
- (djm) OpenBSD CVS Sync
|
||||
|
|
|
@ -1051,7 +1051,7 @@ do_download(struct sftp_conn *conn, char *remote_path, char *local_path,
|
|||
return(-1);
|
||||
}
|
||||
|
||||
local_fd = open(local_path, O_WRONLY | O_CREAT | (resume ? : O_TRUNC),
|
||||
local_fd = open(local_path, O_WRONLY | O_CREAT | (resume ? 0 : O_TRUNC),
|
||||
mode | S_IWUSR);
|
||||
if (local_fd == -1) {
|
||||
error("Couldn't open local file \"%s\" for writing: %s",
|
||||
|
|
Loading…
Reference in New Issue