mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-28 05:54:19 -04:00
zint.h: add version string, mention "manual.html" and website
README: mention "manual.html" tools/update_version.php: update for "zint.h" version, README year test suite: fix some clang-tidy-20 warnings
This commit is contained in:
parent
86b6a0553b
commit
1ae7815d95
6 changed files with 24 additions and 10 deletions
|
@ -388,7 +388,7 @@ static void test_large(const testCtx *const p_ctx) {
|
|||
testUtilEscape(data[i].pattern, (int) strlen(data[i].pattern), escaped, sizeof(escaped)), data[i].length,
|
||||
testUtilErrorName(ret), symbol->rows, symbol->width, errtxt);
|
||||
symbol->input_mode |= FAST_MODE;
|
||||
ret = ZBarcode_Encode(symbol, (unsigned char *) data_buf, length);
|
||||
(void) ZBarcode_Encode(symbol, (unsigned char *) data_buf, length);
|
||||
printf(" \"%s\", \"%s\" },\n", strcmp(errtxt, symbol->errtxt) != 0 ? symbol->errtxt : "", data[i].comment);
|
||||
} else {
|
||||
assert_equal(ret, data[i].ret, "i:%d ZBarcode_Encode ret %d != %d (%s)\n", i, ret, data[i].ret, symbol->errtxt);
|
||||
|
|
|
@ -1896,6 +1896,10 @@ int testUtilCmpBins(const char *bin1, const char *bin2) {
|
|||
do {
|
||||
len1 = fread(buf1, 1, sizeof(buf1), fp1);
|
||||
len2 = fread(buf2, 1, sizeof(buf2), fp2);
|
||||
if (ferror(fp1) || ferror(fp2)) {
|
||||
ret = 4;
|
||||
break;
|
||||
}
|
||||
if (len1 != len2) {
|
||||
ret = 6;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue