diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-11-17 04:16:55 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-11-17 04:16:55 +0000 |
commit | dd3b81b4218512cfedc271dfde65c6011b6aefe9 (patch) | |
tree | c69e8960a6ca95cfcc6c3cf270e4d450862696db /gcc/cpplib.c | |
parent | 5074c1fe97ed929e8bdbf49600bbe83c3722a5ec (diff) | |
download | gcc-dd3b81b4218512cfedc271dfde65c6011b6aefe9.zip gcc-dd3b81b4218512cfedc271dfde65c6011b6aefe9.tar.gz gcc-dd3b81b4218512cfedc271dfde65c6011b6aefe9.tar.bz2 |
mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not malloc/realloc.
* mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
malloc/realloc.
* cpplib.c (glue_header_name): Likewise.
* fixincl.c (run_compiles, start_fixer): Likewise.
* fixlib.c (load_file_data): Likewise.
* mkdeps.c (munge): Likewise.
f:
* malloc.c (malloc_init): Call xmalloc, not malloc.
From-SVN: r37511
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index f858517..3094385 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -528,7 +528,7 @@ glue_header_name (pfile, header) if (total_len + len > capacity) { capacity = (capacity + len) * 2; - buffer = (unsigned char *) realloc (buffer, capacity); + buffer = (unsigned char *) xrealloc (buffer, capacity); } if (token.flags & PREV_WHITE) |