From a5827481f40318b823a9ef947682a80acc2d2f12 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 4 Nov 1995 10:44:33 -0500 Subject: (finclude): Set current input pointer when input is not a regular file. From-SVN: r10549 --- gcc/cpplib.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/cpplib.c') 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; } -- cgit v1.1