aports/main/openssh/sftp-interactive.patch
Valery Kartel adecf80bc8 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
2017-03-23 16:50:49 +00:00

15 lines
359 B
Diff

--- 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");