Changeset 2948 for trunk/src/kmk


Ignore:
Timestamp:
Sep 20, 2016, 5:36:07 PM (9 years ago)
Author:
bird
Message:

kWorker/kDep: save a few header stat calls while optimizing dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/dir-nt-bird.c

    r2931 r2948  
    456456
    457457
    458 
     458/* duplicated in kWorker.c */
    459459void nt_fullpath_cached(const char *pszPath, char *pszFull, size_t cbFull)
    460460{
     
    478478                    kHlpAssert(off > 1);
    479479                    kHlpAssert(pAncestor != NULL);
    480                     kHlpAssert(pAncestor->ObjcchName > 0);
     480                    kHlpAssert(pAncestor->Obj.cchName > 0);
    481481                    pszFull[--off] = '/';
    482482                    off -= pAncestor->Obj.cchName;
Note: See TracChangeset for help on using the changeset viewer.