diff options
author | mouring <mouring> | 2001-05-09 00:38:19 +0000 |
---|---|---|
committer | mouring <mouring> | 2001-05-09 00:38:19 +0000 |
commit | a51c9e7e5dbce5ea39d13040f03c629b83eb671f (patch) | |
tree | 09817ed5dba690102fdf34af907c8fbeef70d781 /sftp-int.c | |
parent | 3c18c4a9ac5f481fbbdeb56d18922ac9d47376ed (diff) | |
download | openssh-a51c9e7e5dbce5ea39d13040f03c629b83eb671f.tar.gz |
- (bal) Updates from the Sony NEWS-OS platform by NAKAJI Hiroyuki
<nakaji@tutrp.tut.ac.jp>
Diffstat (limited to 'sftp-int.c')
-rw-r--r-- | sftp-int.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |