RFA: fix to thinko in make-relative-prefix.c:make_relative_prefix_1

Ian Lance Taylor iant@google.com
Sat Feb 16 06:17:00 GMT 2008


"Douglas Evans" <dje@google.com> writes:

> Simple thinko.  Return of NULL from strdup isn't checked.
> 
> Ok to check in?
> 
> 2007-11-13  Doug Evans  <dje@google.com>
> 
>         * make-relative-prefix.c (make_relative_prefix_1): Handle NULL
>         return from strdup.

This is OK.

However, at this point it should wait until gcc 4.3 has branched.
Sorry for the rather slow review.

Thanks.

Ian



More information about the Gcc-patches mailing list