[Libreoffice] [PATCH core] [PUSHED] Remove cruft in debug tools.

David Tardon dtardon at redhat.com
Mon Jan 9 22:23:37 PST 2012


On Mon, Jan 09, 2012 at 06:41:52PM +0100, Marcel Metz wrote:
> Hello lo-devs,
> 
> the define SV_MEMMGR in tools/source/debug/debug.cxx was commented
> out since 2001 and all of the memory related debugging code
> depends on this define. These patches removes all of the depending
> code. The ini configuration reader and writer for the debugging
> configuration now simply ignore the memory block.
> 

Thanks, pushed now.

> @@ -113,9 +101,9 @@ struct DbgData
>      sal_uIntPtr       nWarningOut;
>      sal_uIntPtr       nErrorOut;
>      sal_uIntPtr       bHookOSLAssert;
> -    sal_uInt8        bMemInit;
> -    sal_uInt8        bMemBound;
> -    sal_uInt8        bMemFree;
> +    sal_uInt8        unused0;
> +    sal_uInt8        unused1;
> +    sal_uInt8        unused2;
>      sal_Char    aDebugName[260];
>      sal_Char    aInclFilter[512];
>      sal_Char    aExclFilter[512];

I removed these three members. Surely we do not need ABI compatibility
for debugging stuff .-)

D.


More information about the LibreOffice mailing list