bug-hello
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error in comment in 'hello.c'


From: Reinder Verlinde
Subject: Error in comment in 'hello.c'
Date: Sun, 10 Dec 2006 11:33:26 +0100

Hi,

I noticed a bug in 'hello.c'. At line 57 of hello.c revision 1.26
<http://cvs.savannah.gnu.org/viewcvs/hello/src/hello.c? rev=1.26&root=hello&view=auto>, a comment states:

  /* Even exiting has subtleties.  The /dev/full device on GNU/Linux
     can be used for testing whether writes are checked properly.  For
     instance, hello >/dev/null should exit unsuccessfully.  On exit,
     if any writes failed, change the exit status.  This is
     implemented in the Gnulib module "closeout".  */

I think the phrase

   "For instance, hello >/dev/null should exit unsuccessfully."
                              ^
should read:

   "For instance, hello >/dev/full should exit unsuccessfully."
                              ^

Regards,

Reinder Verlinde




reply via email to

[Prev in Thread] Current Thread [Next in Thread]