Commit bed5ed71 by Iain Buclaw Committed by Iain Buclaw

re PR d/87866 (gdc fails to compile minimal test)

gcc/d/ChangeLog:

2018-11-24  Iain Buclaw  <ibuclaw@gdcproject.org>

	PR d/87866
	* d-incpath.cc (add_globalpaths): Use lrealpath to get canonical name.
	(add_filepaths): Likewise.

From-SVN: r266429
parent 686a37ce
2018-11-24 Iain Buclaw <ibuclaw@gdcproject.org>
PR d/87866
* d-incpath.cc (add_globalpaths): Use lrealpath to get canonical name.
(add_filepaths): Likewise.
2018-11-17 Iain Buclaw <ibuclaw@gdcproject.org> 2018-11-17 Iain Buclaw <ibuclaw@gdcproject.org>
PR d/87824 PR d/87824
......
...@@ -78,7 +78,7 @@ add_globalpaths (Strings *paths) ...@@ -78,7 +78,7 @@ add_globalpaths (Strings *paths)
for (size_t i = 0; i < paths->dim; i++) for (size_t i = 0; i < paths->dim; i++)
{ {
const char *path = (*paths)[i]; const char *path = (*paths)[i];
const char *target = FileName::canonicalName (path); const char *target = lrealpath (path);
if (target == NULL || !FileName::exists (target)) if (target == NULL || !FileName::exists (target))
{ {
...@@ -105,7 +105,7 @@ add_filepaths (Strings *paths) ...@@ -105,7 +105,7 @@ add_filepaths (Strings *paths)
for (size_t i = 0; i < paths->dim; i++) for (size_t i = 0; i < paths->dim; i++)
{ {
const char *path = (*paths)[i]; const char *path = (*paths)[i];
const char *target = FileName::canonicalName (path); const char *target = lrealpath (path);
if (!FileName::exists (target)) if (!FileName::exists (target))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment