- (djm) Use setvbuf() instead of setlinebuf(). Suggest from stevek@

This commit is contained in:
Damien Miller 2001-02-05 01:01:55 +11:00
parent 6d98656e58
commit 849e288b8a
2 changed files with 3 additions and 2 deletions

View File

@ -31,6 +31,7 @@
- (djm) Makefile.in fixes
- (stevesk) add mysignal() wrapper and use it for the protocol 2
SIGCHLD handler.
- (djm) Use setvbuf() instead of setlinebuf(). Suggest from stevek@
20010103
- (bal) Cygwin clean up by Corinna Vinschen <vinschen@redhat.com>

View File

@ -560,8 +560,8 @@ interactive_loop(int fd_in, int fd_out)
if (pwd == NULL)
fatal("Need cwd");
setlinebuf(stdout);
setlinebuf(stdin);
setvbuf(stdout, (char *)NULL, _IOLBF, 0);
setvbuf(stdin, (char *)NULL, _IOLBF, 0);
for(;;) {
char *cp;