| Newsgroups |
gmane.comp.emulators.winex.cvs |
| Message-ID |
<[email protected]> |
Subject: winex/dlls/ntdll heap.c,1.10,1.11Update of /var/lib/cvsd/cvsroot/winex/dlls/ntdll
In directory agravaine:/tmp/cvs-serv6940/dlls/ntdll
Modified Files:
heap.c
Log Message:
- change msg when an in-place reallocate fails from ERR to WARN, as that will be the typical result
Index: heap.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/ntdll/heap.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- heap.c 30 Mar 2007 18:17:21 -0000 1.10
+++ heap.c 30 Mar 2007 18:59:57 -0000 1.11
@@ -344,8 +344,12 @@
NewChunkSize = mspace_usable_size (pMem);
else
{
- ERR ("Resize of %p from 0x%lx to 0x%lx failed!\n",
- ptr, OldUserSize, NewUserSize);
+ if (flags & HEAP_REALLOC_IN_PLACE_ONLY)
+ WARN ("Resize-in-place of %p from 0x%lx to 0x%lx failed!\n",
+ ptr, OldUserSize, NewUserSize);
+ else
+ ERR ("Resize of %p from 0x%lx to 0x%lx failed!\n",
+ ptr, OldUserSize, NewUserSize);
set_status (STATUS_NO_MEMORY);
}
}