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

Diff for /src/usr.bin/make/arch.c between version 1.46 and 1.47

version 1.46, 2001/05/29 12:53:38 version 1.47, 2001/05/30 00:43:00
Line 602 
Line 602 
         if (he != NULL)          if (he != NULL)
             return mtime_of_member(he);              return mtime_of_member(he);
         else {          else {
             if (end - member > AR_NAME_SIZE) {              if ((size_t)(end - member) > AR_NAME_SIZE) {
                 /* Try truncated name.  */                  /* Try truncated name.  */
                 end = member + AR_NAME_SIZE;                  end = member + AR_NAME_SIZE;
                 he = ohash_find(&ar->members,                  he = ohash_find(&ar->members,
Line 890 
Line 890 
     ArchTouch(Varq_Value(ARCHIVE_INDEX, gn), Varq_Value(MEMBER_INDEX, gn));      ArchTouch(Varq_Value(ARCHIVE_INDEX, gn), Varq_Value(MEMBER_INDEX, gn));
 }  }
   
   /*ARGSUSED*/
 void  void
 Arch_TouchLib(gn)  Arch_TouchLib(gn)
     GNode           *gn;        /* The node of the library to touch */      GNode           *gn;        /* The node of the library to touch */
Line 899 
Line 900 
         ArchTouch(gn->path, RANLIBMAG);          ArchTouch(gn->path, RANLIBMAG);
         set_times(gn->path);          set_times(gn->path);
     }      }
   #else
       gn = gn;
 #endif  #endif
 }  }
   
Line 1019 
Line 1022 
 Arch_LibOODate(gn)  Arch_LibOODate(gn)
     GNode         *gn;          /* The library's graph node */      GNode         *gn;          /* The library's graph node */
 {  {
   #ifdef RANLIBMAG
     TIMESTAMP     modTimeTOC;   /* mod time of __.SYMDEF */      TIMESTAMP     modTimeTOC;   /* mod time of __.SYMDEF */
   #endif
   
     if (OP_NOP(gn->type) && Lst_IsEmpty(&gn->children))      if (OP_NOP(gn->type) && Lst_IsEmpty(&gn->children))
         return false;          return false;

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47