[BACK]Return to suff.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.bin / make

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/make/suff.c between version 1.104 and 1.105

version 1.104, 2020/08/22 14:39:12 version 1.105, 2020/08/22 14:54:48
Line 522  SuffInsert(Lst l, Suff *s)
Line 522  SuffInsert(Lst l, Suff *s)
         if (DEBUG(SUFF)) {          if (DEBUG(SUFF)) {
             fprintf(debug_file, "before %s(%d)\n", s2->name, s2->sNum);              fprintf(debug_file, "before %s(%d)\n", s2->name, s2->sNum);
         }          }
         (void)Lst_InsertBefore(l, ln, s);          Lst_InsertBeforeS(l, ln, s);
         s->refCount++;          s->refCount++;
         Lst_AppendS(s->ref, l);          Lst_AppendS(s->ref, l);
     } else if (DEBUG(SUFF)) {      } else if (DEBUG(SUFF)) {
Line 1646  SuffExpandChildren(LstNode cln, GNode *p
Line 1646  SuffExpandChildren(LstNode cln, GNode *p
                 fprintf(debug_file, "%s...", gn->name);                  fprintf(debug_file, "%s...", gn->name);
             }              }
             /* Add gn to the parents child list before the original child */              /* Add gn to the parents child list before the original child */
             (void)Lst_InsertBefore(pgn->children, cln, gn);              Lst_InsertBeforeS(pgn->children, cln, gn);
             Lst_AppendS(gn->parents, pgn);              Lst_AppendS(gn->parents, pgn);
             pgn->unmade++;              pgn->unmade++;
             /* Expand wildcards on new node */              /* Expand wildcards on new node */
Line 1701  SuffExpandWildcards(LstNode cln, GNode *
Line 1701  SuffExpandWildcards(LstNode cln, GNode *
         gn = Targ_FindNode(cp, TARG_CREATE);          gn = Targ_FindNode(cp, TARG_CREATE);
   
         /* Add gn to the parents child list before the original child */          /* Add gn to the parents child list before the original child */
         (void)Lst_InsertBefore(pgn->children, cln, gn);          Lst_InsertBeforeS(pgn->children, cln, gn);
         Lst_AppendS(gn->parents, pgn);          Lst_AppendS(gn->parents, pgn);
         pgn->unmade++;          pgn->unmade++;
     }      }

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.105

CVSweb <webmaster@jp.NetBSD.org>