https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87866

--- Comment #7 from ibuclaw at gcc dot gnu.org ---
Author: ibuclaw
Date: Tue Mar 12 16:31:48 2019
New Revision: 269619

URL: https://gcc.gnu.org/viewcvs?rev=269619&root=gcc&view=rev
Log:
Use libiberty's lrealpath to avoid portability problems.

The dmd front-end function FileName::canonicalName could be called
during the semantic pass of import("file") expressions, so still
requires that realpath() be redefined.

Initial patch by Rainer Orth.

gcc/d/ChangeLog:

2019-03-12  Iain Buclaw  <ibuc...@gdcproject.org>

        PR d/87866
        * d-system.h (realpath): Redefine as lrealpath.

Modified:
    trunk/gcc/d/ChangeLog
    trunk/gcc/d/d-system.h

Reply via email to