Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make(1): clean up comments in Make_Recheck



details:   https://anonhg.NetBSD.org/src/rev/65e1313e78df
branches:  trunk
changeset: 942442:65e1313e78df
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Nov 08 08:55:25 2020 +0000

description:
make(1): clean up comments in Make_Recheck

diffstat:

 usr.bin/make/make.c |  18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diffs (47 lines):

diff -r 34808ae992ce -r 65e1313e78df usr.bin/make/make.c
--- a/usr.bin/make/make.c       Sun Nov 08 08:54:50 2020 +0000
+++ b/usr.bin/make/make.c       Sun Nov 08 08:55:25 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make.c,v 1.191 2020/11/08 08:53:22 rillig Exp $        */
+/*     $NetBSD: make.c,v 1.192 2020/11/08 08:55:25 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -108,7 +108,7 @@
 #include "job.h"
 
 /*     "@(#)make.c     8.1 (Berkeley) 6/6/93"  */
-MAKE_RCSID("$NetBSD: make.c,v 1.191 2020/11/08 08:53:22 rillig Exp $");
+MAKE_RCSID("$NetBSD: make.c,v 1.192 2020/11/08 08:55:25 rillig Exp $");
 
 /* Sequence # to detect recursion. */
 static unsigned int checked = 1;
@@ -510,13 +510,11 @@
      * In this case, if the definitions produced by yacc haven't changed
      * from before, parse.h won't have been updated and gn->mtime will
      * reflect the current modification time for parse.h. This is
-     * something of a kludge, I admit, but it's a useful one..
-     * XXX: People like to use a rule like
+     * something of a kludge, I admit, but it's a useful one.
      *
-     * FRC:
-     *
-     * To force things that depend on FRC to be made, so we have to
-     * check for gn->children being empty as well...
+     * XXX: People like to use a rule like "FRC:" to force things that
+     * depend on FRC to be made, so we have to check for gn->children
+     * being empty as well.
      */
     if (!Lst_IsEmpty(gn->commands) || Lst_IsEmpty(gn->children)) {
        gn->mtime = now;
@@ -541,8 +539,8 @@
      * -- ardeb 1/12/88
      */
     /*
-     * Christos, 4/9/92: If we are  saving commands pretend that
-     * the target is made now. Otherwise archives with ... rules
+     * Christos, 4/9/92: If we are saving commands, pretend that
+     * the target is made now. Otherwise archives with '...' rules
      * don't work!
      */
     if (!GNode_ShouldExecute(gn) || (gn->type & OP_SAVE_CMDS) ||



Home | Main Index | Thread Index | Old Index