aboutsummaryrefslogtreecommitdiffstats
path: root/main/openssh/sftp-interactive.patch
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-03-07 12:42:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-03-23 16:50:49 +0000
commitadecf80bc8f761eaf58245d98a41801e5b62c3d9 (patch)
tree524775b07e22752313b9e5b5392fd966a8135231 /main/openssh/sftp-interactive.patch
parentd92d0c148dfe07c0dd08351fe7a72d5004e123ea (diff)
downloadaports-adecf80bc8f761eaf58245d98a41801e5b62c3d9.tar.bz2
aports-adecf80bc8f761eaf58245d98a41801e5b62c3d9.tar.xz
main/openssh: fix patches
fix hpn patches which was unintentionally disabled with commit 756f181a5 (main/openssh: support cross building and use default_prepare) rename *.diff to *.patch because *.diff are ignored by default_prepare
Diffstat (limited to 'main/openssh/sftp-interactive.patch')
-rw-r--r--main/openssh/sftp-interactive.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/openssh/sftp-interactive.patch b/main/openssh/sftp-interactive.patch
new file mode 100644
index 0000000000..ab14f3a6ba
--- /dev/null
+++ b/main/openssh/sftp-interactive.patch
@@ -0,0 +1,14 @@
+--- a/sftp.c 2014-10-24 10:32:15.793544472 +0500
++++ b/sftp.c 2014-10-24 10:35:22.329199875 +0500
+@@ -2076,8 +2076,10 @@
+ signal(SIGINT, SIG_IGN);
+
+ if (el == NULL) {
+- if (interactive)
++ if (interactive) {
+ printf("sftp> ");
++ fflush(stdout);
++ }
+ if (fgets(cmd, sizeof(cmd), infile) == NULL) {
+ if (interactive)
+ printf("\n");