(fold_file): Remove ferror(stdout) check, already done in close_stdout.
authorJim Meyering <jim@meyering.net>
Mon, 7 Aug 2000 13:19:52 +0000 (13:19 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 7 Aug 2000 13:19:52 +0000 (13:19 +0000)
src/fold.c

index 14596daf7f0803ba9e1e06d9d669d7a517734a4a..97afc55405764a3854d8b422f65d4a4eba0c6345 100644 (file)
@@ -221,12 +221,6 @@ fold_file (char *filename, int width)
       return 1;
     }
 
-  if (ferror (stdout))
-    {
-      error (0, errno, _("write error"));
-      return 1;
-    }
-
   return 0;
 }