From: Damien Miller Date: Wed, 11 Jan 2023 00:45:17 +0000 (+1100) Subject: remove buffer len workaround for NetBSD 4.x X-Git-Tag: V_9_2_P1~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bcc737a35fdd9cc4af7423d6c23dfd0c7ef4786;p=thirdparty%2Fopenssh-portable.git 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. --- diff --git a/scp.c b/scp.c index 543d3b1f3..1adff5cec 100644 --- a/scp.c +++ b/scp.c @@ -180,7 +180,7 @@ pid_t do_cmd_pid = -1; pid_t do_cmd_pid2 = -1; /* SFTP copy parameters */ -size_t sftp_copy_buflen = 32768; /* XXX NetBSD4 hangs with default value */ +size_t sftp_copy_buflen; size_t sftp_nrequests; /* Needed for sftp */