summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--sftp-int.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ab110c61..73b4a6973 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -31,6 +31,7 @@
31 - (djm) Makefile.in fixes 31 - (djm) Makefile.in fixes
32 - (stevesk) add mysignal() wrapper and use it for the protocol 2 32 - (stevesk) add mysignal() wrapper and use it for the protocol 2
33 SIGCHLD handler. 33 SIGCHLD handler.
34 - (djm) Use setvbuf() instead of setlinebuf(). Suggest from stevek@
34 35
3520010103 3620010103
36 - (bal) Cygwin clean up by Corinna Vinschen <vinschen@redhat.com> 37 - (bal) Cygwin clean up by Corinna Vinschen <vinschen@redhat.com>
diff --git a/sftp-int.c b/sftp-int.c
index f050c098e..bdb470b1c 100644
--- a/sftp-int.c
+++ b/sftp-int.c
@@ -560,8 +560,8 @@ interactive_loop(int fd_in, int fd_out)
560 if (pwd == NULL) 560 if (pwd == NULL)
561 fatal("Need cwd"); 561 fatal("Need cwd");
562 562
563 setlinebuf(stdout); 563 setvbuf(stdout, (char *)NULL, _IOLBF, 0);
564 setlinebuf(stdin); 564 setvbuf(stdin, (char *)NULL, _IOLBF, 0);
565 565
566 for(;;) { 566 for(;;) {
567 char *cp; 567 char *cp;