953 |
|
return(2); |
954 |
|
if (typ1 != typ2) { |
955 |
|
if (report != REP_QUIET) |
956 |
< |
printf("%s: '%s' is %s and '%s' is %s\n", |
956 |
> |
printf("%s: '%s' format is %s and '%s' is %s\n", |
957 |
|
progname, f1name, file_type[typ1], |
958 |
|
f2name, file_type[typ2]); |
959 |
|
return(1); |
969 |
|
printf("%s: warning - unrecognized format\n", |
970 |
|
progname); |
971 |
|
} |
972 |
< |
if (report >= REP_VERBOSE) |
973 |
< |
printf("%s: input file type is %s\n", |
974 |
< |
progname, file_type[typ1]); |
975 |
< |
|
972 |
> |
if (report >= REP_VERBOSE) { |
973 |
> |
printf("%s: data format is %s\n", progname, file_type[typ1]); |
974 |
> |
if ((typ1 == TYP_FLOAT) | (typ1 == TYP_DOUBLE)) { |
975 |
> |
if (f1swap) |
976 |
> |
printf("%s: input '%s' is byte-swapped\n", |
977 |
> |
progname, f1name); |
978 |
> |
if (f2swap) |
979 |
> |
printf("%s: input '%s' is byte-swapped\n", |
980 |
> |
progname, f2name); |
981 |
> |
} |
982 |
> |
} |
983 |
|
switch (typ1) { /* compare based on type */ |
984 |
|
case TYP_BINARY: |
985 |
|
case TYP_TMESH: |