summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/lib
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/lib')
-rw-r--r--Build/source/texk/web2c/lib/ChangeLog4
-rw-r--r--Build/source/texk/web2c/lib/texmfmp.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog
index 1f67b4cd761..ee2ec93cac6 100644
--- a/Build/source/texk/web2c/lib/ChangeLog
+++ b/Build/source/texk/web2c/lib/ChangeLog
@@ -1,3 +1,7 @@
+2012-10-14 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
+
+ * texmfmp.c: Use _IONBF for unbuffered stream.
+
2012-10-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (mk_shellcmdlist): The argument is not constant.
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c
index 3f08e9b0200..b821dcdc5cb 100644
--- a/Build/source/texk/web2c/lib/texmfmp.c
+++ b/Build/source/texk/web2c/lib/texmfmp.c
@@ -1916,7 +1916,7 @@ open_in_or_pipe (FILE **f_ptr, int filefmt, const_string fopen_mode)
}
}
if (*f_ptr)
- setvbuf (*f_ptr,NULL,_IOLBF,0);
+ setvbuf (*f_ptr,NULL,_IONBF,0);
#ifdef WIN32
Poptr = *f_ptr;
#endif
@@ -1965,7 +1965,7 @@ open_out_or_pipe (FILE **f_ptr, const_string fopen_mode)
}
if (*f_ptr)
- setvbuf(*f_ptr,NULL,_IOLBF,0);
+ setvbuf(*f_ptr,NULL,_IONBF,0);
return *f_ptr != NULL;
}