1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 416658. Remote indexing in C does not work completely for Windows

Change-Id: I75c296a13d11cd20f13bfa790c3c767c8b71f9f0
Signed-off-by: John Eblen <jeblen@acm.org>
Reviewed-on: https://git.eclipse.org/r/23220
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
This commit is contained in:
John Eblen 2014-05-28 13:49:51 -04:00 committed by Sergey Prigogin
parent 321d380e76
commit 44d66b4750

View file

@ -202,7 +202,7 @@ public class LanguageSettingsScannerInfoProvider implements IScannerInfoProvider
}
IPath locPath = new Path(location);
if (locPath.isAbsolute() && locPath.getDevice() == null) {
if (!locPath.isUNC() && locPath.isAbsolute() && locPath.getDevice() == null) {
IPath buildCWD = getBuildCWD(cfgDescription);
// prepend device (C:) for Windows
String device = buildCWD.getDevice();