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

Diff for /src/usr.bin/make/suff.c between version 1.100 and 1.101

version 1.100, 2020/01/13 14:05:21 version 1.101, 2020/01/13 14:07:35
Line 498 
Line 498 
   
         gn->type = OP_TRANSFORM;          gn->type = OP_TRANSFORM;
         if (s->flags & SUFF_PATH) {          if (s->flags & SUFF_PATH) {
                 gn->special = SPECIAL_PATH | SPECIAL_TARGET;                  gn->special = SPECIAL_PATH;
                 gn->suffix = t;                  gn->suffix = t;
         }          }
   
Line 587 
Line 587 
             gn = ohash_next(&transforms, &i)) {              gn = ohash_next(&transforms, &i)) {
                 if (Lst_IsEmpty(&gn->commands) && Lst_IsEmpty(&gn->children))                  if (Lst_IsEmpty(&gn->commands) && Lst_IsEmpty(&gn->children))
                         continue;                          continue;
                 if ((gn->special & SPECIAL_MASK) == SPECIAL_PATH)                  if (gn->special == SPECIAL_PATH)
                         continue;                          continue;
                 if (parse_transform(gn->name, &s, &s2)) {                  if (parse_transform(gn->name, &s, &s2)) {
                         SuffInsert(&s2->children, s);                          SuffInsert(&s2->children, s);

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101