diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-02-07 22:36:04 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-02-07 22:36:04 +0000 |
commit | d9abb3181cd8e1e4da84e7d03d15c10b843d1ce4 (patch) | |
tree | 1f68a43dfbf926faec4f2ca5ebc57e2beadfbfaf /usr.bin | |
parent | 9d35834aa1343aad60fcce719b4aab0e0cbdb191 (diff) |
portable; ok markus@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/sftp-int.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/sftp-int.c b/usr.bin/ssh/sftp-int.c index e77a9adc146..1bbe2531106 100644 --- a/usr.bin/ssh/sftp-int.c +++ b/usr.bin/ssh/sftp-int.c @@ -28,7 +28,7 @@ /* XXX: recursive operations */ #include "includes.h" -RCSID("$OpenBSD: sftp-int.c,v 1.13 2001/02/07 18:10:39 stevesk Exp $"); +RCSID("$OpenBSD: sftp-int.c,v 1.14 2001/02/07 22:36:03 stevesk Exp $"); #include "buffer.h" #include "xmalloc.h" @@ -604,8 +604,8 @@ interactive_loop(int fd_in, int fd_out) if (pwd == NULL) fatal("Need cwd"); - setlinebuf(stdout); - setlinebuf(stdin); + setvbuf(stdout, NULL, _IOLBF, 0); + setvbuf(stdin, NULL, _IOLBF, 0); for(;;) { char *cp; |