Project Info Name.......: gnu-hello
Description: GNU Hello


gnu-hello       
Info
Commit...:1b08109771a381755d56fb46f18662b989862ff5
Author...:Reuben Thomas
Committer:Reuben Thomas
Date.....:Sat May 4 18:21:00 2013 +0100
Parents..:0f2446e20ca868b8abb71bb37f957cfa411882f4

Message
gnulib has fixed a TODO for us (patch from Sami Kerola)

Changes
diff --git a/TODO b/TODO
line changes: +0/-40
index 4cd6fda..7009dfa
--- a/TODO
+++ b/TODO
@@ -5,44 +5,4 @@ Todo:
     * remove README-alpha from the distribution.
     * submit a new hello.pot.
 
--=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-
-
-Subject:      grep-2.0b: close stdout and make sure it succeeds
-From:         meyering@eng.ascend.com (Jim Meyering)
-Date:         1997/07/16
-Message-ID:   <yzq4t9ucuz5.fsf@boom.eng.ascend.com>
-Newsgroups:   gnu.utils.bug
-
-
-Hi Alain,
-
-Thanks for taking up the reins!
-
-Almost every program that writes a single byte to stdout should
-do the following just before exiting: close stdout and give a
-diagnostic if the close fails.
-
-Otherwise, write errors can go unreported.  You can provoke this
-by e.g. making grep generate lots of output and redirect that output
-to a floppy or to any file system that's nearly full.
-
-GNU hello should set a good example and do this, too.
-
-Here's a patch I've been using for a long time:
-
-        * src/grep.c: Cause grep to fail if `fclose (stdout)' fails.
-
---- grep.c.orig Wed Jul 16 20:44:20 1997
-+++ grep.c      Wed Jul 16 20:44:30 1997
-@@ -846,5 +846,8 @@ main(argc, argv)
-        printf(_("(standard input)\n"));
-     }
-
-+  if (fclose (stdout) == EOF)
-+    error (_("writing output", errno));
-+
-   exit(errseen ? 2 : status);
- }
-
-
 end of file TODO

This website is licensed under AGPL-3.0. Feel free to copy!