Ignore:
Timestamp:
Aug 25, 1999, 7:05:57 PM (26 years ago)
Author:
sandervl
Message:

Memory mapped file (writes) changes

File:
1 edited

Legend:

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

    r697 r699  
    1 /* $Id: exceptions.cpp,v 1.14 1999-08-25 15:46:52 sandervl Exp $ */
     1/* $Id: exceptions.cpp,v 1.15 1999-08-25 17:05:57 sandervl Exp $ */
    22
    33/*
     
    897897  {     
    898898   Win32MemMap *map;
    899  
     899   BOOL fWriteAccess = FALSE;
     900
    900901        if(pERepRec->ExceptionInfo[1] == 0 && pERepRec->ExceptionInfo[1] == XCPT_DATA_UNKNOWN) {
    901902                goto continueFail;
     
    915916                        goto continueFail;
    916917                }
     918                fWriteAccess = TRUE;
    917919                break;
    918920        case XCPT_EXECUTE_ACCESS:
     
    926928        //Might want to consider mapping more than one page if access is at
    927929        //a high offset in the page
    928         if(map->commitPage((LPVOID)pERepRec->ExceptionInfo[1], 1) == TRUE)
     930        if(map->commitPage((LPVOID)pERepRec->ExceptionInfo[1], 1, fWriteAccess) == TRUE)
    929931                return (XCPT_CONTINUE_EXECUTION);
    930932
Note: See TracChangeset for help on using the changeset viewer.