}
}
+ if (ferror(hfp.fp)) {
+ moan("error reading input `%s': %s",
+ file ? file : "<stdin>", strerror(errno));
+ rc = EXIT_FAILURE;
+ }
dstr_destroy(&dl);
dstr_destroy(&df);
xfree(hfp.hbuf);
{
unsigned f = 0;
const gchash *gch = 0;
- const encodeops *e = &encodingtab[0];
+ const encodeops *e = &encodingtab[ENC_HEX];
int rc;
/* --- Initialization --- */