Ignore:
Timestamp:
Sep 21, 2016, 9:53:10 PM (9 years ago)
Author:
bird
Message:

kWorker: precompiled header files didn't work out, unfortunately.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kWorker/kWorker.c

    r2949 r2957  
    49654965        }
    49664966    }
     4967#if 0 /* compiler does write+copy mapping, so forget it. */
     4968    /* Precompiled header: .pch */
     4969    else if (wcFirst == 'p' || wcFirst == 'P')
     4970    {
     4971        if (wcSecond == 'c' || wcSecond == 'C')
     4972        {
     4973            if (wcThird == 'h' || wcThird == 'H')
     4974                return K_TRUE;
     4975        }
     4976    }
     4977#endif
    49674978    else if (fAttrQuery)
    49684979    {
     
    50965107        {
    50975108            if (   cbFile.QuadPart >= 0
    5098                 && cbFile.QuadPart < 16*1024*1024)
     5109                && (   cbFile.QuadPart < 16*1024*1024
     5110                    || (   cbFile.QuadPart < 64*1024*1024
     5111                        && pFsObj->cchName > 4
     5112                        && kHlpStrICompAscii(&pFsObj->pszName[pFsObj->cchName - 4], ".pch") == 0) ))
    50995113            {
    51005114                KU32 cbCache = (KU32)cbFile.QuadPart;
     
    55055519        }
    55065520    }
    5507     KWFS_LOG(("SetFilePointer(%p)\n", hFile));
     5521    KWFS_LOG(("SetFilePointer(%p, %d, %p=%d, %d)\n", hFile, cbMove, pcbMoveHi ? *pcbMoveHi : 0, dwMoveMethod));
    55085522    return SetFilePointer(hFile, cbMove, pcbMoveHi, dwMoveMethod);
    55095523}
Note: See TracChangeset for help on using the changeset viewer.