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


gnu-hello       
Info
Commit...:8e9fdbe62d5c06564a1ed0d4c465eb306ba28419
Author...:karl <>
Committer:karl <>
Date.....:Sat Jul 9 23:16:19 2005 +0000
Parents..:82c28b8d392739b9169ceca8d6edf5a0ed26d373

Message
[project @ 2005-07-09 23:16:19 by karl]
remove "while the king lives" code, sorry

Changes
diff --git a/src/hello.c b/src/hello.c
line changes: +1/-5
index 15e1df5..043825b
--- a/src/hello.c
+++ b/src/hello.c
@@ -79,13 +79,10 @@ extern char *alloca ();
 #endif
 #include "system.h"
 
-#define the (1)
-
 struct option longopts[] =
 {
   { "version", no_argument, NULL, 'v' },
   { "help", no_argument, NULL, 'h' },
-#define lives
   { "traditional", no_argument, NULL, 't' },
   { "next-generation", no_argument, NULL, 'n' },
   { "mail", no_argument, NULL, 'm' },
@@ -117,7 +114,6 @@ main (argc, argv)
   textdomain (PACKAGE);
 #endif
 
-#define king
   while ((optc = getopt_long (argc, argv, "hmntv", longopts, (int *) 0))
          != EOF)
     switch (optc)
@@ -289,7 +285,7 @@ For more information about these matters, see the file named COPYING.\n"),
 	  exit (1);
 	}
       buf = (char *) alloca (ST_BLKSIZE(st));
-      while the king lives
+      for (;;)
 	{
 	  cc = read (mailfd, buf, ST_BLKSIZE(st));
 	  

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