- (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
|
- (djm) Makefile.in fixes
|
||||||
- (stevesk) add mysignal() wrapper and use it for the protocol 2
|
- (stevesk) add mysignal() wrapper and use it for the protocol 2
|
||||||
SIGCHLD handler.
|
SIGCHLD handler.
|
||||||
|
- (djm) Use setvbuf() instead of setlinebuf(). Suggest from stevek@
|
||||||
|
|
||||||
20010103
|
20010103
|
||||||
- (bal) Cygwin clean up by Corinna Vinschen <vinschen@redhat.com>
|
- (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)
|
if (pwd == NULL)
|
||||||
fatal("Need cwd");
|
fatal("Need cwd");
|
||||||
|
|
||||||
setlinebuf(stdout);
|
setvbuf(stdout, (char *)NULL, _IOLBF, 0);
|
||||||
setlinebuf(stdin);
|
setvbuf(stdin, (char *)NULL, _IOLBF, 0);
|
||||||
|
|
||||||
for(;;) {
|
for(;;) {
|
||||||
char *cp;
|
char *cp;
|
||||||
|
|
Loading…
Reference in New Issue