Chambers, Phil wrote: > I have looked at the source code and there are numerous places where it > detects problems with signature, but they all generate the same failure > message: "Malformed database". > > It is going to take me a very long time to patch the code to make it > generate different error messages for each case where a signature can be > malformed, so that I can diagnose my problem, but I see no alternative. > Search text "Malformed database" replace all ocucrrences by "File " __FILE__ " encountered a malformed database on line " STRINGIFY(__LINE__)
And globally define this: #define STRINGIFY2(x) #x #define STRINGIFY(x) STRINGIFY2(x) _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml