aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-05-14 21:01:24 +0000
committerRichard Stallman <rms@gnu.org>1992-05-14 21:01:24 +0000
commit282ea52ada40ec3efd6e754baf7e5b701538102f (patch)
treeb7179ab90bfdb8f2806620705bb8d8036cb8e7ba /gcc
parent52f13eb521683a470185e08c097d50b59b8129f2 (diff)
downloadgcc-282ea52ada40ec3efd6e754baf7e5b701538102f.zip
gcc-282ea52ada40ec3efd6e754baf7e5b701538102f.tar.gz
gcc-282ea52ada40ec3efd6e754baf7e5b701538102f.tar.bz2
*** empty log message ***
From-SVN: r978
Diffstat (limited to 'gcc')
-rw-r--r--gcc/toplev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 9a72428..46fdcbc 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1360,6 +1360,10 @@ compile_file (name)
if (finput == 0)
pfatal_with_name (name);
+#ifdef IO_BUFFER_SIZE
+ setvbuf (finput, xmalloc (IO_BUFFER_SIZE), _IOFBF, IO_BUFFER_SIZE);
+#endif
+
/* Initialize data in various passes. */
init_obstacks ();