This is the mail archive of the gcc-cvs@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]

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


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