Correct heapwalk defines
Hans Leidekker <hans-p/[email protected]> Thu, 10 Mar 2005 22:21:48 +0100
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Organization | VU Amsterdam - Dienst IT |
| Message-ID | <[email protected]> |
--Boundary-00=_spLMCBIfGOHe2Jb Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline This was spotted by Uwe Bonnes. -Hans 2005-03-10 Hans Leidekker <hans-p/[email protected]> * include/malloc.h (_USEDENTRY, _FREEENTRY): Correct defines. --Boundary-00=_spLMCBIfGOHe2Jb Content-Type: text/x-diff; charset="us-ascii"; name="mingw_runtime_include_malloc_h.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mingw_runtime_include_malloc_h.diff" Index: include/malloc.h =================================================================== RCS file: /cvs/src/src/winsup/mingw/include/malloc.h,v retrieving revision 1.11 diff -u -r1.11 malloc.h --- include/malloc.h 27 Jan 2005 00:34:42 -0000 1.11 +++ include/malloc.h 10 Mar 2005 21:13:15 -0000 @@ -32,8 +32,8 @@ } _HEAPINFO; /* Values for _heapinfo.useflag */ -#define _USEDENTRY 0 -#define _FREEENTRY 1 +#define _USEDENTRY 1 +#define _FREEENTRY 0 /* Return codes for _heapwalk() */ #define _HEAPEMPTY (-1) --Boundary-00=_spLMCBIfGOHe2Jb-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click