From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1947 invoked by alias); 9 May 2003 22:16:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 1910 invoked by uid 71); 9 May 2003 22:16:00 -0000 Date: Fri, 09 May 2003 22:16:00 -0000 Message-ID: <20030509221600.1909.qmail@sources.redhat.com> To: zack@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Neil Booth Subject: Re: preprocessor/7312: bootstrap failure due to invalid use of errno Reply-To: Neil Booth X-SW-Source: 2003-05/txt/msg00835.txt.bz2 List-Id: The following reply was made to PR preprocessor/7312; it has been noted by GNATS. From: Neil Booth To: Bruno Haible Cc: Zack Weinberg , gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: preprocessor/7312: bootstrap failure due to invalid use of errno Date: Fri, 9 May 2003 23:09:03 +0100 Bruno Haible wrote:- > Zack Weinberg writes: > > At that point in the code, > > nothing has been done to give errno a meaningful value, so ->err_no > > should just be cleared to 0. > > Well, I thought (and still think) that 'errno' here means the error > status from cpp_simplify_path. See the comments at the head of the > function cpp_simplify_path. > > I also think that validate_pch() should not ignore this error status. I agree that Bruno's original patch is the right one. Neil.