Re: Correct heapwalk defines
Danny Smith <[email protected]> Tue, 15 Mar 2005 16:09:30 +1300
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <000d01c5290c$688e26a0$1d6d65da@DANNY> |
Hans Leidekker wrote: >> This was spotted by Uwe Bonnes. >> Thanks. Applied to CVS. Danny >> -Hans >> >> 2005-03-10 Hans Leidekker <hans-p/[email protected]> >> >> * include/malloc.h (_USEDENTRY, _FREEENTRY): Correct defines. >> > > > >> 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) ------------------------------------------------------- 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