DragonFly BSD
DragonFly commits List (threaded) for 2012-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 May 2012 20:15:29 -0700 (PDT)

commit 20b2da2c75b86e66c462f14bedd35291ceeb782f
Author: Venkatesh Srinivas <me@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]