diff --git a/ChangeLog b/ChangeLog index 36a3168e6..be3fac97b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Jun 28 18:42:48 CEST 2010 (tk) +---------------------------------- + * sigtool/sigtool.c: drop compatibility limit + Thu Jun 24 20:04:02 CEST 2010 (tk) ---------------------------------- * libclamav: reduce memory usage for MD5 sigs (bb#2057) diff --git a/sigtool/sigtool.c b/sigtool/sigtool.c index e9ecde282..bba2fc63d 100644 --- a/sigtool/sigtool.c +++ b/sigtool/sigtool.c @@ -71,12 +71,6 @@ #define MAX_DEL_LOOKAHEAD 200 -/* - * Force backward compatibility with the cdiff interpreter of clamav < 0.95 - */ -#define COMPATIBILITY_LIMIT 980 - - static const struct dblist_s { const char *name; unsigned int count; @@ -1639,15 +1633,6 @@ static int compare(const char *oldpath, const char *newpath, FILE *diff) fprintf(diff, "ADD %s\n", nbuff); } } -#ifdef COMPATIBILITY_LIMIT - if(!cli_strbcasestr(newpath, ".cbc") && strlen(nbuff) > COMPATIBILITY_LIMIT) { - mprintf("!compare: COMPATIBILITY_LIMIT: Found too long line in new %s\n", newpath); - if(old) - fclose(old); - fclose(new); - return -1; - } -#endif } fclose(new);