preprocessor/7312: bootstrap failure due to invalid use of errno

Zack Weinberg zack@codesourcery.com
Fri May 9 22:37:00 GMT 2003


Neil Booth <neil@daikokuya.co.uk> writes:

> 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.

Would you please check it in, then?  I'm in the middle of a messy
unrelated project, and not in a position to test stuff.

zw



More information about the Gcc-bugs mailing list