git: libc -- dmalloc: Call malloc_init as-needed, rather than via ctor (#2)

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Fri May 25 20:15:29 PDT 2012


commit 20b2da2c75b86e66c462f14bedd35291ceeb782f
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Fri May 25 12:43:58 2012 -0700

    libc -- dmalloc: Call malloc_init as-needed, rather than via ctor (#2)
    
    This commit is a second revision of
    e12d3396c777165504d60d2a1408dcd7cb63660d; for details, see the original
    commit message.
    
    That commit was reverted quickly, as it broke pthreads; this revision
    does not suffer from that problem, as it preserves the __constructor
    logic for malloc_init.
    
    Reverts: 4018c6eddd57f4abf9134690cbfa46c9d7103558 (Revert libc ...)
    Reported-by: marino@
    Closes-bug: 2305

Summary of changes:
 lib/libc/stdlib/dmalloc.c |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/20b2da2c75b86e66c462f14bedd35291ceeb782f


-- 
DragonFly BSD source repository





More information about the Commits mailing list