Commit 16637354 by Richard Stallman

*** empty log message ***

From-SVN: r1240
parent 1ddde1cd
...@@ -4051,11 +4051,9 @@ finclude (f, fname, op, system_header_p, dirptr) ...@@ -4051,11 +4051,9 @@ finclude (f, fname, op, system_header_p, dirptr)
bufp = basep + st_size; /* May have moved */ bufp = basep + st_size; /* May have moved */
} }
} }
fp->buf = (U_CHAR *) alloca (st_size + 2); fp->buf = basep;
fp->bufp = fp->buf; fp->bufp = fp->buf;
bcopy (basep, fp->buf, st_size);
fp->length = st_size; fp->length = st_size;
free (basep);
} }
/* Close descriptor now, so nesting does not use lots of descriptors. */ /* Close descriptor now, so nesting does not use lots of descriptors. */
......
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