Changeset 1628 for trunk/dll/eas.c


Ignore:
Timestamp:
Aug 27, 2011, 9:35:39 PM (14 years ago)
Author:
Gregg Young
Message:

Hard coded the flags for the xDosAlloc* wrappers and added a description for each of them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/eas.c

    r1627 r1628  
    204204
    205205            ealen = sizeof(FEA2LIST) + strlen(s) + 64;
    206             if (!xDosAllocMem((PPVOID) & pfealist, ealen + 1,
    207                               PAG_COMMIT | PAG_READ | PAG_WRITE,
    208                               pszSrcFile, __LINE__)) {
     206            if (!xDosAllocMem((PPVOID) & pfealist, ealen + 1, pszSrcFile, __LINE__)) {
    209207              memset(pfealist, 0, ealen + 1);
    210208              pfealist->cbList = ealen;
     
    11051103  }
    11061104
    1107   if (!xDosAllocMem((PPVOID) & pfealist, ealen,
    1108                     PAG_COMMIT | PAG_READ | PAG_WRITE, pszSrcFile, __LINE__)) {
     1105  if (!xDosAllocMem((PPVOID) & pfealist, ealen, pszSrcFile, __LINE__)) {
    11091106    memset(pfealist, 0, ealen);
    11101107    pfealist->list[0].oNextEntryOffset = 0;
Note: See TracChangeset for help on using the changeset viewer.