Commit a5827481 by Richard Kenner

(finclude): Set current input pointer when input is not a regular

file.

From-SVN: r10549
parent f6176c64
...@@ -5656,6 +5656,7 @@ finclude (pfile, f, fname, system_header_p, dirptr) ...@@ -5656,6 +5656,7 @@ finclude (pfile, f, fname, system_header_p, dirptr)
bsize *= 2; bsize *= 2;
fp->buf = (U_CHAR *) xrealloc (fp->buf, bsize + 2); fp->buf = (U_CHAR *) xrealloc (fp->buf, bsize + 2);
} }
fp->cur = fp->buf;
length = st_size; length = st_size;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment