Changeset 8119 for trunk/src


Ignore:
Timestamp:
Mar 24, 2002, 12:59:45 PM (23 years ago)
Author:
sandervl
Message:

OpenFileMapping fix (fixes notes replication)

File:
1 edited

Legend:

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

    r6468 r8119  
    1 /* $Id: hmmmap.cpp,v 1.18 2001-08-06 16:01:10 sandervl Exp $ */
     1/* $Id: hmmmap.cpp,v 1.19 2002-03-24 11:59:45 sandervl Exp $ */
    22
    33/*
     
    144144  case FILE_MAP_WRITE:
    145145  case FILE_MAP_ALL_ACCESS:
    146         if(!(protflags & PAGE_WRITECOPY))
     146        if(!(protflags & (PAGE_WRITECOPY|PAGE_READWRITE)))
    147147                return ERROR_INVALID_PARAMETER;
    148148        break;
Note: See TracChangeset for help on using the changeset viewer.