[parted-devel] [PATCH] add malloc debugging using MALLOC_CHECK_

Otavio Salvador otavio at debian.org
Fri Aug 31 23:07:55 UTC 2007


"Frodo Baggins" <frodo.drogo at gmail.com> writes:

>>From 9beec03970ed9b4877b67e93a48eaf1e09b1ac9e Mon Sep 17 00:00:00 2001
> From: Frodo Baggins <frodo.drogo at gmail.com>
> Date: Fri, 31 Aug 2007 07:45:50 +0530
> Subject: [PATCH] add malloc debugging using MALLOC_CHECK_
>
> Set environment variable MALLOC_CHECK_ to 2 so that abort() is
> called when libc detects a heap problem. This way we get a memory dump
> to analyse in such conditions.

I'd like to hear from others about this patch but it looks OK to me.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



More information about the parted-devel mailing list