74 |
|
|
75 |
|
/* header variables to always ignore */ |
76 |
|
const char *hdr_ignkey[] = { |
77 |
– |
"FORMAT", |
77 |
|
"SOFTWARE", |
78 |
|
"CAPDATE", |
79 |
|
"GMT", |
615 |
|
/* compare non-empty lines */ |
616 |
|
if (!equiv_string(l1buf.str, l2buf.str)) { |
617 |
|
if (report != REP_QUIET) { |
618 |
< |
printf("%s: inputs '%s' and '%s' differ at line %d|%d\n", |
619 |
< |
progname, f1name, f2name, |
620 |
< |
lin1cnt, lin2cnt); |
618 |
> |
printf("%s: inputs '%s' and '%s' differ at line %d", |
619 |
> |
progname, f1name, f2name, lin1cnt); |
620 |
> |
if (lin1cnt != lin2cnt) |
621 |
> |
printf("|%d\n", lin2cnt); |
622 |
> |
else |
623 |
> |
putchar('\n'); |
624 |
|
if ( report >= REP_VERBOSE && |
625 |
|
(l1buf.len < 256) & |
626 |
|
(l2buf.len < 256) ) { |