Skip to content

Commit d6e90d2

Browse files
committed
Merge pull request #1075 from moisei/master
Ignore LIB and PDB files.
2 parents 53232b8 + 4c97c7f commit d6e90d2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/org/opensolaris/opengrok/analysis/data/IgnorantAnalyzerFactory.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,16 @@
3232
*/
3333
public class IgnorantAnalyzerFactory extends FileAnalyzerFactory {
3434
private static final String[] SUFFIXES = {
35-
"BDF", "XPM", "PS", "AFM", "PDF"
35+
"BDF", "XPM", "PS", "AFM", "PDF", "LIB", "PDB"
3636
};
3737

3838
private static final String[] MAGICS = {
3939
"%!PS-", // post script files
4040
"# PaCkAg",
4141
"%PDF",
42+
"Microsoft C/C++ MSF ", // PDB files: https://msdn.microsoft.com/en-us/library/yd4f8bd1(vs.71).aspx
43+
"!<arch>", // LIB files: https://msdn.microsoft.com/en-us/library/ba1z7822.aspx
44+
4245
};
4346

4447
public IgnorantAnalyzerFactory() {

0 commit comments

Comments
 (0)