From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- net-ftp/gftp/files/gftp-2.0.18-ssh2-read.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net-ftp/gftp/files/gftp-2.0.18-ssh2-read.patch (limited to 'net-ftp/gftp/files/gftp-2.0.18-ssh2-read.patch') diff --git a/net-ftp/gftp/files/gftp-2.0.18-ssh2-read.patch b/net-ftp/gftp/files/gftp-2.0.18-ssh2-read.patch new file mode 100644 index 0000000..765741b --- /dev/null +++ b/net-ftp/gftp/files/gftp-2.0.18-ssh2-read.patch @@ -0,0 +1,13 @@ +--- gftp-2.0.18.orig/lib/sshv2.c ++++ gftp-2.0.18/lib/sshv2.c +@@ -1841,7 +1841,7 @@ + { + int ret; + +- if ((ret = sshv2_open_file (request, file, startsize, SSH_FXP_OPEN)) < 0) ++ if ((ret = sshv2_open_file (request, file, startsize, SSH_FXF_READ)) < 0) + return (ret); + + return (sshv2_get_file_size (request, file)); + + -- cgit v1.2.3