Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Eblen2014-05-28 17:49:51 +0000
committerSergey Prigogin2014-05-28 18:11:13 +0000
commit44d66b4750ecbea0571279a54dd3bf050af04be2 (patch)
tree3dd8ac38eb07e9a4e67bfffa0adb9ed0b9f037c0
parent321d380e76ad3c4d99aca6d3fff968df714f8949 (diff)
downloadorg.eclipse.cdt-44d66b4750ecbea0571279a54dd3bf050af04be2.tar.gz
org.eclipse.cdt-44d66b4750ecbea0571279a54dd3bf050af04be2.tar.xz
org.eclipse.cdt-44d66b4750ecbea0571279a54dd3bf050af04be2.zip
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>
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/language/settings/providers/LanguageSettingsScannerInfoProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/language/settings/providers/LanguageSettingsScannerInfoProvider.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/language/settings/providers/LanguageSettingsScannerInfoProvider.java
index d54236e7e83..a52272cfb89 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/language/settings/providers/LanguageSettingsScannerInfoProvider.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/language/settings/providers/LanguageSettingsScannerInfoProvider.java
@@ -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();

Back to the top