mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
remove buffer len workaround for NetBSD 4.x
Switching to from pipes to a socketpair for communicating with the ssh process avoids the (kernel bug?) problem.
This commit is contained in:
parent
f5154d2aac
commit
4bcc737a35
2
scp.c
2
scp.c
@ -180,7 +180,7 @@ pid_t do_cmd_pid = -1;
|
|||||||
pid_t do_cmd_pid2 = -1;
|
pid_t do_cmd_pid2 = -1;
|
||||||
|
|
||||||
/* SFTP copy parameters */
|
/* SFTP copy parameters */
|
||||||
size_t sftp_copy_buflen = 32768; /* XXX NetBSD4 hangs with default value */
|
size_t sftp_copy_buflen;
|
||||||
size_t sftp_nrequests;
|
size_t sftp_nrequests;
|
||||||
|
|
||||||
/* Needed for sftp */
|
/* Needed for sftp */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user