This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix make_relative_prefix_1 (PR driver/48306)


On Wed, Dec 21, 2011 at 6:43 AM, Jakub Jelinek <jakub@redhat.com> wrote:

> 2011-12-21 ?Jakub Jelinek ?<jakub@redhat.com>
>
> ? ? ? ?* make-relative-prefix.c (make_relative_prefix_1): Avoid
> ? ? ? ?stack overflow if PATH contains just a single entry and
> ? ? ? ?HOST_EXECUTABLE_SUFFIX needs to be used.
>
> ? ? ? ?PR driver/48306
> ? ? ? ?* make-relative-prefix.c: Include sys/stat.h.
> ? ? ? ?(make_relative_prefix_1): If access succeeds, check also stat
> ? ? ? ?if nstore is a regular file.

This is OK.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]