This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] tradcpp include fix
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [PATCH] tradcpp include fix
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Mon, 24 Jul 2000 09:56:41 -0700
- Cc: gcc-patches at gcc dot gnu dot org, notting at redhat dot com, nalin at redhat dot com
- References: <20000724111910.E560@sunsite.ms.mff.cuni.cz>
On Mon, Jul 24, 2000 at 11:19:10AM +0200, Jakub Jelinek wrote:
> Hi!
>
> There can be cpp_include_defaults directories longer than
> cpp_GCC_INCLUDE_DIR_len, e.g. TOOL_INCLUDE_DIR in some configurations.
> As tradcpp was not updating max_include_len for them and just assumed
> cpp_GCC_INCLUDE_DIR_len is the longest length, it crashed because alloced
> area in do_include was not enough.
> Ok to commit?
Yes, this is fine.
Is this the fix for the crash compiling lilo you told me about last
week?
zw