]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Remove stdout write error check.
authorBruno Haible <bruno@clisp.org>
Fri, 19 Sep 2003 08:31:44 +0000 (08:31 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:00 +0000 (12:11 +0200)
gettext-runtime/src/ChangeLog
gettext-runtime/src/envsubst.c

index 9ce26b8c0736b76c42b8baf0ace7dcfa076517d0..6580a5346e598b9b9318e20010932279a864cf16 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-14  Bruno Haible  <bruno@clisp.org>
+
+       * envsubst.c (main): Remove stdout write error check, now done in
+       close_stdout.
+
 2003-09-18  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am (EXTRA_DIST): Add gettext.sh.
index 7164834e8587d1d9c4626e21aa04110fa93fc989..9396fe7a79e0ade6094e2444931514c7ff6e6ae6 100644 (file)
@@ -158,11 +158,6 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
       subst_from_stdin ();
     }
 
-  /* Make sure nothing went wrong.  */
-  if (fflush (stdout) || ferror (stdout))
-    error (EXIT_FAILURE, errno, _("error while writing \"%s\" file"),
-           _("standard output"));
-
   exit (EXIT_SUCCESS);
 }