1
0
Fork 0
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:
David McKnight 2006-04-26 21:21:13 +00:00
parent 06c5a1b162
commit f54318b537

View file

@ -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;
} }