summaryrefslogtreecommitdiff
path: root/src/fold.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-07 13:19:52 +0000
committerJim Meyering <jim@meyering.net>2000-08-07 13:19:52 +0000
commit0981ef97c0e84e507cf231ac5a486aec7d4544ae (patch)
tree57d7c6ce3e90ec19df45f49642bc0a6f2ffcf2e6 /src/fold.c
parenteb6e8b63c649c11699f84c1bc0e0267f97740d2f (diff)
downloadcoreutils-0981ef97c0e84e507cf231ac5a486aec7d4544ae.tar.xz
(fold_file): Remove ferror(stdout) check, already done in close_stdout.
Diffstat (limited to 'src/fold.c')
-rw-r--r--src/fold.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fold.c b/src/fold.c
index 14596daf7..97afc5540 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -221,12 +221,6 @@ fold_file (char *filename, int width)
return 1;
}
- if (ferror (stdout))
- {
- error (0, errno, _("write error"));
- return 1;
- }
-
return 0;
}