mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
allow for full classification
This commit is contained in:
parent
06c5a1b162
commit
f54318b537
1 changed files with 5 additions and 0 deletions
|
@ -407,6 +407,7 @@ public class FileClassifier extends Thread
|
||||||
|
|
||||||
boolean matchesExe = (fulltype.indexOf(STR_EXECUTABLE) > -1);
|
boolean matchesExe = (fulltype.indexOf(STR_EXECUTABLE) > -1);
|
||||||
boolean matchesScript = (fulltype.indexOf(STR_SCRIPT) > -1);
|
boolean matchesScript = (fulltype.indexOf(STR_SCRIPT) > -1);
|
||||||
|
|
||||||
// shared
|
// shared
|
||||||
if (matchesLib && (name.endsWith(STR_DOT_A) || name.endsWith(STR_DOT_SO) || name.indexOf(STR_DOT_SO_DOT) > 0))
|
if (matchesLib && (name.endsWith(STR_DOT_A) || name.endsWith(STR_DOT_SO) || name.indexOf(STR_DOT_SO_DOT) > 0))
|
||||||
{
|
{
|
||||||
|
@ -441,6 +442,10 @@ public class FileClassifier extends Thread
|
||||||
{
|
{
|
||||||
type = resolveSymbolicLink(parentFile, name, fulltype, symbolicLinkStr, resolveLink, specialEncoding);
|
type = resolveSymbolicLink(parentFile, name, fulltype, symbolicLinkStr, resolveLink, specialEncoding);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
type = fulltype;
|
||||||
|
}
|
||||||
|
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue