version 1.46, 2001/05/29 12:53:38 |
version 1.47, 2001/05/30 00:43:00 |
|
|
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, |
|
|
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 */ |
|
|
ArchTouch(gn->path, RANLIBMAG); |
ArchTouch(gn->path, RANLIBMAG); |
set_times(gn->path); |
set_times(gn->path); |
} |
} |
|
#else |
|
gn = gn; |
#endif |
#endif |
} |
} |
|
|
|
|
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; |