summaryrefslogtreecommitdiffstats
path: root/txr.c
diff options
context:
space:
mode:
Diffstat (limited to 'txr.c')
-rw-r--r--txr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/txr.c b/txr.c
index 70dda583..72f1b8f5 100644
--- a/txr.c
+++ b/txr.c
@@ -179,6 +179,8 @@ int txr_main(int argc, char **argv)
prot1(&spec_file_str);
prot1(&self_path);
+ setvbuf(stderr, 0, _IOLBF, 0);
+
yyin_stream = std_input;
if (argc <= 1) {