* src/numfmt.c (main): Exit with failure upon read errors.
* NEWS: Mention the bug fix.
Previously such file names would have caused the strip process to fail.
[This bug was present in "the beginning".]
- tsort now diagnoses read errors on the input.
+ tsort and numfmt now diagnose read errors on the input.
[This bug was present in "the beginning".]
}
if (ferror (stdin))
- error (0, errno, _("error reading input"));
+ die (EXIT_FAILURE, errno, _("error reading input"));
}
if (debug && !valid_numbers)