summaryrefslogtreecommitdiff
path: root/system/openssh/sftp-interactive.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-20 22:02:40 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-20 22:02:40 -0600
commit10613294b48e3736c0edf5f93c6ff34b52339079 (patch)
treefca7f0455d929960160c5b7a58bf7723e757d65b /system/openssh/sftp-interactive.patch
parentf6b52bbe6f5db81c293948a2aedf978b508eb742 (diff)
downloadpackages-10613294b48e3736c0edf5f93c6ff34b52339079.tar.gz
packages-10613294b48e3736c0edf5f93c6ff34b52339079.tar.bz2
packages-10613294b48e3736c0edf5f93c6ff34b52339079.tar.xz
packages-10613294b48e3736c0edf5f93c6ff34b52339079.zip
system/openssh: add drastically simplified OpenSSH
Diffstat (limited to 'system/openssh/sftp-interactive.patch')
-rw-r--r--system/openssh/sftp-interactive.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/openssh/sftp-interactive.patch b/system/openssh/sftp-interactive.patch
new file mode 100644
index 000000000..ab14f3a6b
--- /dev/null
+++ b/system/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");