This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix calls to malloc, realloc in prefix.c
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: Re: Fix calls to malloc, realloc in prefix.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 26 Feb 2000 13:43:01 -0700
- cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <20000223002906.B2152@wolery.cumb.org>you write:
> * Makefile.in (STMP_FIXINC): New toggle.
> (LIBGCC2_DEPS): Delete all references.
> (stmp-headers): Delete target. All references either deleted
> or changed to stmp-int-headers.
> (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
> (LIBCPP_OBJS): Take out cppalloc.o.
> (cppalloc.o): Delete target.
> (stmp-int-hdrs): Depend on $(STMP_FIXINC).
> (gen-protos, fix-header): Link with libiberty.a.
> * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
> to empty.
> * cp/Make-lang.in: Delete refs to LIBGCC2_DEPS.
>
> * configure.in: Remove refs to strerror.
> * acconfig.h: Take out NEED_DECLARATION_STRERROR.
> * system.h: Take out strerror stanza.
>
> * cpperror.c (my_strerror): Delete function.
> (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
> * cppmain.c (main): Call xmalloc_set_program_name first thing.
> * cppalloc.c: Delete file.
> * gen-protos.c: Don't provide xrealloc.
>
> * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
> xstrerror throughout.
This is fine. Please install this patch.
jeff