Changeset 46 for trunk/src/kmk/dir.c
- Timestamp:
- Apr 4, 2003, 2:03:50 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/dir.c
r35 r46 978 978 Hash_Entry *entry; 979 979 980 #ifdef USE_ARCHIVES 980 981 if (gn->type & OP_ARCHV) { 981 982 return Arch_MTime (gn); 982 } else if (gn->path == (char *)NULL) { 983 } else 984 #endif 985 if (gn->path == (char *)NULL) { 983 986 fullName = Dir_FindFile (gn->name, dirSearchPath); 984 987 } else { … … 1004 1007 Hash_DeleteEntry(&mtimes, entry); 1005 1008 } else if (stat (fullName, &stb) < 0) { 1009 #ifdef USE_ARCHIVES 1006 1010 if (gn->type & OP_MEMBER) { 1007 1011 if (fullName != gn->path) 1008 1012 efree(fullName); 1009 1013 return Arch_MemMTime (gn); 1010 } else { 1014 } else 1015 #endif 1011 1016 stb.st_mtime = 0; 1012 }1013 1017 } 1014 1018 if (fullName && gn->path == (char *)NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.