This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r182820 - in /trunk/libiberty: ChangeLog make-r...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 02 Jan 2012 22:18:22 -0000
- Subject: r182820 - in /trunk/libiberty: ChangeLog make-r...
Author: jakub
Date: Mon Jan 2 22:18:21 2012
New Revision: 182820
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182820
Log:
* 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.
Modified:
trunk/libiberty/ChangeLog
trunk/libiberty/make-relative-prefix.c