1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 08:46:02 +02:00

Bug 341170 - Fix for platform bug 291323 changed API behavior, regressing behavior in CDT

This commit is contained in:
John Cortell 2011-03-28 21:00:06 +00:00
parent fa13a7c63b
commit ea04df9522

View file

@ -237,7 +237,7 @@ public class Executable extends PlatformObject {
// Be careful not to convert a unix path like
// "/src/home" to "c:\source\home" on Windows. See
// bugzilla 297781
URI uri = (sourcePath.toFile().exists()) ? URIUtil.toURI(sourcePath) : URIUtil.toURI(filename);
URI uri = (sourcePath.toFile().exists()) ? URIUtil.toURI(sourcePath) : URIUtil.toURI(filename, true);
tu = new ExternalTranslationUnit(cproject, uri, id);
}