mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Bug 341170 - Fix for platform bug 291323 changed API behavior, regressing behavior in CDT
This commit is contained in:
parent
fa13a7c63b
commit
ea04df9522
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ public class Executable extends PlatformObject {
|
||||||
// Be careful not to convert a unix path like
|
// Be careful not to convert a unix path like
|
||||||
// "/src/home" to "c:\source\home" on Windows. See
|
// "/src/home" to "c:\source\home" on Windows. See
|
||||||
// bugzilla 297781
|
// 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);
|
tu = new ExternalTranslationUnit(cproject, uri, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue