summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorstevesk <stevesk@openbsd.org>2001-02-07 22:36:03 +0000
committerstevesk <stevesk@openbsd.org>2001-02-07 22:36:03 +0000
commit199f4d1afad94282b17de552560f89e8e720f4d5 (patch)
treecfddaccc8004535e2245a9fdd0cf93f814361ff0 /usr.bin/ssh
parentmove k_setpag() to a central place; ok dugsong@ (diff)
downloadwireguard-openbsd-199f4d1afad94282b17de552560f89e8e720f4d5.tar.xz
wireguard-openbsd-199f4d1afad94282b17de552560f89e8e720f4d5.zip
portable; ok markus@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/sftp-int.c6
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;