mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
numfmt: diagnose errors reading the input
* src/numfmt.c (main): Exit with failure upon read errors. * NEWS: Mention the bug fix.
This commit is contained in:
1 parent
0e62ba282e
commit
5595673d5c
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@ GNU coreutils NEWS -*- outline -*-
|
||||
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".]
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1644,7 +1644,7 @@ main (int argc, char **argv)
|
||||
}
|
||||
|
||||
if (ferror (stdin))
|
||||
error (0, errno, _("error reading input"));
|
||||
die (EXIT_FAILURE, errno, _("error reading input"));
|
||||
}
|
||||
|
||||
if (debug && !valid_numbers)
|
||||
|
||||
Reference in new issue
Block a user