Ignore:
Timestamp:
Dec 14, 1999, 8:14:28 PM (26 years ago)
Author:
sandervl
Message:

cmd line fix, mmap fix + EB's string fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/mmap.cpp

    r2072 r2077  
    1 /* $Id: mmap.cpp,v 1.29 1999-12-14 12:50:45 sandervl Exp $ */
     1/* $Id: mmap.cpp,v 1.30 1999-12-14 19:14:28 sandervl Exp $ */
    22
    33/*
     
    337337                goto fail;
    338338        }
    339         if(hMemFile == -1 && !image && (mProtFlags & SEC_COMMIT)) {//commit memory
     339        //Windows NT seems to commit memory for memory maps, regardsless of the SEC_COMMIT flag
     340        if(hMemFile == -1 && !image) {//commit memory
    340341                VirtualAlloc(pMapping, mSize, MEM_COMMIT, PAGE_READWRITE);
    341342        }
Note: See TracChangeset for help on using the changeset viewer.