Ignore:
Timestamp:
Aug 6, 2001, 6:01:11 PM (24 years ago)
Author:
sandervl
Message:

CreateProcess & memory map fixes

File:
1 edited

Legend:

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

    r6397 r6468  
    1 /* $Id: wprocess.cpp,v 1.131 2001-07-28 18:03:38 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.132 2001-08-06 16:01:11 sandervl Exp $ */
    22
    33/*
     
    139139    //Allocate one dword to store the flat address of our TEB
    140140    if(fMainThread) {
     141        dprintf(("InitializeTIB Process handle %x, id %x", GetCurrentProcess(), GetCurrentProcessId()));
     142
    141143        TIBFlatPtr = (DWORD *)OSLibAllocThreadLocalMemory(1);
    142144        if(TIBFlatPtr == 0) {
     
    16421644    // it is also valid in Win32.
    16431645    DWORD dwError = GetLastError();
    1644     if (ERROR_INVALID_EXE_SIGNATURE != dwError && ERROR_FILE_NOT_FOUND != dwError)
     1646    if (ERROR_INVALID_EXE_SIGNATURE != dwError && ERROR_FILE_NOT_FOUND != dwError && ERROR_ACCESS_DENIED != dwError)
    16451647    {
    16461648        dprintf(("CreateProcess: O32_CreateProcess failed with rc=%d, not PE-executable !",
Note: See TracChangeset for help on using the changeset viewer.