projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
interactive: Set stderr to nonbuffered mode.
[paraslash.git]
/
interactive.c
diff --git
a/interactive.c
b/interactive.c
index
00b3022
..
12fcfe1
100644
(file)
--- a/
interactive.c
+++ b/
interactive.c
@@
-381,6
+381,7
@@
int i9e_open(struct i9e_client_info *ici, struct sched *s)
rl_attempted_completion_function = i9e_completer;
i9ep->ici = ici;
i9ep->stderr_stream = fdopen(ici->fds[2], "w");
rl_attempted_completion_function = i9e_completer;
i9ep->ici = ici;
i9ep->stderr_stream = fdopen(ici->fds[2], "w");
+ setvbuf(i9ep->stderr_stream, NULL, _IONBF, 0);
if (ici->history_file)
read_history(ici->history_file);
if (ici->history_file)
read_history(ici->history_file);