diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-11-04 10:44:33 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-11-04 10:44:33 -0500 |
commit | a5827481f40318b823a9ef947682a80acc2d2f12 (patch) | |
tree | 2b763f69ed35349806b35694a902ae4240cfd448 /gcc/cpplib.c | |
parent | f6176c648775c569f0a439b2d07583c419fa62a9 (diff) | |
download | gcc-a5827481f40318b823a9ef947682a80acc2d2f12.zip gcc-a5827481f40318b823a9ef947682a80acc2d2f12.tar.gz gcc-a5827481f40318b823a9ef947682a80acc2d2f12.tar.bz2 |
(finclude): Set current input pointer when input is not a regular
file.
From-SVN: r10549
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 1891c20..8e91a09 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -5656,6 +5656,7 @@ finclude (pfile, f, fname, system_header_p, dirptr) bsize *= 2; fp->buf = (U_CHAR *) xrealloc (fp->buf, bsize + 2); } + fp->cur = fp->buf; length = st_size; } |