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:
Damien Miller 2023-01-11 11:45:17 +11:00
parent f5154d2aac
commit 4bcc737a35
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

2
scp.c
View File

@ -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 */