projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ddde1c
)
*** empty log message ***
author
Richard Stallman
<rms@gnu.org>
Tue, 23 Jun 1992 02:30:27 +0000
(
02:30
+0000)
committer
Richard Stallman
<rms@gnu.org>
Tue, 23 Jun 1992 02:30:27 +0000
(
02:30
+0000)
From-SVN: r1240
gcc/cccp.c
patch
|
blob
|
history
diff --git
a/gcc/cccp.c
b/gcc/cccp.c
index 1a44d41605c3240c9920554d1de0054430a00690..7890b9df8e92c14002b283ee2b969725165fef32 100644
(file)
--- a/
gcc/cccp.c
+++ b/
gcc/cccp.c
@@
-4051,11
+4051,9
@@
finclude (f, fname, op, system_header_p, dirptr)
bufp = basep + st_size; /* May have moved */
}
}
- fp->buf =
(U_CHAR *) alloca (st_size + 2)
;
+ fp->buf =
basep
;
fp->bufp = fp->buf;
- bcopy (basep, fp->buf, st_size);
fp->length = st_size;
- free (basep);
}
/* Close descriptor now, so nesting does not use lots of descriptors. */