diff options
author | Damien Miller <djm@mindrot.org> | 2023-01-11 01:45:17 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2023-01-11 01:45:17 +0100 |
commit | 4bcc737a35fdd9cc4af7423d6c23dfd0c7ef4786 (patch) | |
tree | 201a990738c585a32d765712f7c5f9f6caf538bb /scp.c | |
parent | add back use of pipes in scp.c under USE_PIPES (diff) | |
download | openssh-4bcc737a35fdd9cc4af7423d6c23dfd0c7ef4786.tar.xz openssh-4bcc737a35fdd9cc4af7423d6c23dfd0c7ef4786.zip |
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.
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |