commit | 6aebb340fb7a9f2a2184482b9088ef57c83e1a5f | [log] [tgz] |
---|---|---|
author | Ben Lindstrom <mouring@eviladmin.org> | Wed May 09 00:38:19 2001 +0000 |
committer | Ben Lindstrom <mouring@eviladmin.org> | Wed May 09 00:38:19 2001 +0000 |
tree | fad933d05fe6c9b290f88d6b3fcd5ede20b4719e | |
parent | 56b9d459ff99643b2f607e1f156690c9077bfc1a [diff] [blame] |
- (bal) Updates from the Sony NEWS-OS platform by NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
diff --git a/sftp-int.c b/sftp-int.c index 46e405e..03b2299 100644 --- a/sftp-int.c +++ b/sftp-int.c
@@ -889,8 +889,13 @@ return; } } +#if HAVE_SETVBUF setvbuf(stdout, NULL, _IOLBF, 0); setvbuf(infile, NULL, _IOLBF, 0); +#else + setlinebuf(stdout); + setlinebuf(infile); +#endif for(;;) { char *cp;