Browse code

ignore compatibility limit for bytecode

Tomasz Kojm authored on 2010/02/12 04:30:05
Showing 1 changed files
... ...
@@ -1604,8 +1604,8 @@ static int compare(const char *oldpath, const char *newpath, FILE *diff)
1604 1604
 	    }
1605 1605
 	}
1606 1606
 #ifdef COMPATIBILITY_LIMIT
1607
-       if(strlen(nbuff) > COMPATIBILITY_LIMIT) {
1608
-           mprintf("!compare: COMPATIBILITY_LIMIT: Found too long line in new %s\n", newpath);
1607
+       if(!cli_strbcasestr(newpath, ".cbc") && strlen(nbuff) > COMPATIBILITY_LIMIT) {
1608
+	   mprintf("!compare: COMPATIBILITY_LIMIT: Found too long line in new %s\n", newpath);
1609 1609
            if(old)
1610 1610
                fclose(old);
1611 1611
 	   fclose(new);