mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-02 06:36:37 +03:00
(fold_file): Remove ferror(stdout) check, already done in close_stdout.
This commit is contained in:
@@ -221,12 +221,6 @@ fold_file (char *filename, int width)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (ferror (stdout))
|
||||
{
|
||||
error (0, errno, _("write error"));
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user