Changeset 46 for trunk/src/kmk/dir.c


Ignore:
Timestamp:
Apr 4, 2003, 2:03:50 AM (22 years ago)
Author:
bird
Message:

kMk changes. Made extensions configurable from config.h. fixed parents.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/dir.c

    r35 r46  
    978978    Hash_Entry    *entry;
    979979
     980    #ifdef USE_ARCHIVES
    980981    if (gn->type & OP_ARCHV) {
    981982        return Arch_MTime (gn);
    982     } else if (gn->path == (char *)NULL) {
     983    } else
     984    #endif
     985        if (gn->path == (char *)NULL) {
    983986        fullName = Dir_FindFile (gn->name, dirSearchPath);
    984987    } else {
     
    10041007        Hash_DeleteEntry(&mtimes, entry);
    10051008    } else if (stat (fullName, &stb) < 0) {
     1009        #ifdef USE_ARCHIVES
    10061010        if (gn->type & OP_MEMBER) {
    10071011            if (fullName != gn->path)
    10081012                efree(fullName);
    10091013            return Arch_MemMTime (gn);
    1010         } else {
     1014        } else
     1015        #endif
    10111016            stb.st_mtime = 0;
    1012         }
    10131017    }
    10141018    if (fullName && gn->path == (char *)NULL) {
Note: See TracChangeset for help on using the changeset viewer.