[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.7 and 1.8

version 1.7, 1998/07/02 21:00:05 version 1.8, 1998/07/02 21:25:40
Line 679 
Line 679 
         (void)SuffParseTransform(gn->name, &s, &t);          (void)SuffParseTransform(gn->name, &s, &t);
   
         if (DEBUG(SUFF)) {          if (DEBUG(SUFF)) {
             printf("deleting transformation from %s to %s\n",              printf("deleting transformation from `%s' to `%s'\n",
                     s->name, t->name);                      s->name, t->name);
         }          }
   
Line 691 
Line 691 
          * We'll be called twice when the next target is seen, but .c and .o           * We'll be called twice when the next target is seen, but .c and .o
          * are only linked once...           * are only linked once...
          */           */
         SuffRemove(t->children, s);          if (*t->name)
               SuffRemove(t->children, s);
   
         /*          /*
          * Remove the target from the source's parents list           * Remove the target from the source's parents list
          */           */
         SuffRemove(s->parents, t);          if (*s->name)
               SuffRemove(s->parents, t);
     } else if ((gn->type & OP_TRANSFORM) && DEBUG(SUFF)) {      } else if ((gn->type & OP_TRANSFORM) && DEBUG(SUFF)) {
         printf("transformation %s complete\n", gn->name);          printf("transformation %s complete\n", gn->name);
     }      }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8