Changeset 3228 for trunk/src


Ignore:
Timestamp:
Mar 24, 2000, 8:25:34 PM (25 years ago)
Author:
sandervl
Message:

bugfix in pe loader (512 mb check)

Location:
trunk/src/kernel32
Files:
3 edited

Legend:

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

    r2973 r3228  
    1 /* $Id: hmopen32.cpp,v 1.18 2000-03-02 19:17:21 sandervl Exp $ */
     1/* $Id: hmopen32.cpp,v 1.19 2000-03-24 19:25:32 sandervl Exp $ */
    22
    33/*
     
    170170
    171171#if 1
     172  //SvL: Open32 doesn't like this flag
     173  if(pHMHandleData->dwShare & FILE_SHARE_DELETE) {
     174        pHMHandleData->dwShare &= ~FILE_SHARE_DELETE;
     175  }
     176
    172177  hFile = O32_CreateFile(lpFileName,
    173178                         pHMHandleData->dwAccess,
     
    859864  if(dwTimeout) {
    860865        endtime = O32_GetCurrentTime();
    861         dprintf(("KERNEL32: HandleManager::WaitForSingleObject delta = %x (rc=%x)", endtime - starttime, rc));
    862   }
    863   else dprintf(("KERNEL32: HandleManager::WaitForSingleObject rc=%x", rc));
     866        dprintf(("KERNEL32: HandleManager::WaitForSingleObject %x delta = %x (rc=%x)", pHMHandleData->hHMHandle, endtime - starttime, rc));
     867  }
     868  else dprintf(("KERNEL32: HandleManager::WaitForSingleObject %x rc=%x", pHMHandleData->hHMHandle, rc));
    864869  return rc;
    865870}
  • trunk/src/kernel32/winimagepeldr.cpp

    r3206 r3228  
    1 /* $Id: winimagepeldr.cpp,v 1.36 2000-03-23 19:23:48 sandervl Exp $ */
     1/* $Id: winimagepeldr.cpp,v 1.37 2000-03-24 19:25:32 sandervl Exp $ */
    22
    33/*
     
    802802  }
    803803
    804   if(oh.ImageBase < 512*1024*124) {
     804  if(oh.ImageBase < 512*1024*1024) {
    805805        allocFlags = 0;
    806806  }
  • trunk/src/kernel32/winimgres.cpp

    r2865 r3228  
    1 /* $Id: winimgres.cpp,v 1.32 2000-02-23 00:57:40 sandervl Exp $ */
     1/* $Id: winimgres.cpp,v 1.33 2000-03-24 19:25:34 sandervl Exp $ */
    22
    33/*
     
    271271    }
    272272    if(HIWORD(id)) {
    273             dprintf(("FindResource %s: resource %s (type %d, lang %d)", szModule, id, type, lang));
    274     }
    275     else    dprintf(("FindResource %s: resource %d (type %d, lang %d)", szModule, id, type, lang));
     273            dprintf(("FindResource %s: resource %s (type %d, lang %x)", szModule, id, type, lang));
     274    }
     275    else    dprintf(("FindResource %s: resource %d (type %d, lang %x)", szModule, id, type, lang));
    276276    //ulRVAResourceSection contains the relative virtual address (relative to the start of the image)
    277277    //for the resource section (images loaded by the pe.exe and pe2lx/win32k)
Note: See TracChangeset for help on using the changeset viewer.