- (djm) Use setvbuf() instead of setlinebuf(). Suggest from stevek@
This commit is contained in:
parent
6d98656e58
commit
849e288b8a
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue