Ignore:
Timestamp:
Aug 25, 1999, 2:03:50 AM (26 years ago)
Author:
phaller
Message:

Fix: Heap 0 always valid for NT programs

File:
1 edited

Legend:

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

    r532 r672  
    1 /* $Id: os2heap.cpp,v 1.8 1999-08-17 17:04:51 sandervl Exp $ */
     1/* $Id: os2heap.cpp,v 1.9 1999-08-25 00:03:50 phaller Exp $ */
    22
    33/*
     
    308308  OS2Heap *curheap = OS2Heap::heap;
    309309
     310  //@@@PH NT programs seem to assume heap 0 is always valid?!
     311  if (hHeap == 0)
     312     if (curheap != NULL)
     313       return curheap;
     314
    310315  while(curheap != NULL) {
    311316        if(curheap->hPrimaryHeap == hHeap) {
Note: See TracChangeset for help on using the changeset viewer.