]> andersk Git - openssh.git/blobdiff - sftp-int.c
- (bal) Updates from the Sony NEWS-OS platform by NAKAJI Hiroyuki
[openssh.git] / sftp-int.c
index 46e405e0dfb31e8c4cfc336244d7767982a96af7..03b2299997ea497309749f4d974fd30279cda0db 100644 (file)
@@ -889,8 +889,13 @@ interactive_loop(int fd_in, int fd_out, char *file1, char *file2)
                        return;
                }
        }
+#if HAVE_SETVBUF
        setvbuf(stdout, NULL, _IOLBF, 0);
        setvbuf(infile, NULL, _IOLBF, 0);
+#else
+       setlinebuf(stdout);
+       setlinebuf(infile);
+#endif
 
        for(;;) {
                char *cp;
This page took 0.034709 seconds and 4 git commands to generate.