Changeset 24 for trunk/malloc.c

Show
Ignore:
Timestamp:
09/03/06 12:48:23 (8 years ago)
Author:
richdawe
Message:

Add --enable-malloc-replacement option, for using libumem as a malloc replacement

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk

    • Property svn:ignore changed from
      *.lo
      *.la
      .deps
      .libs
      *.loT
      Makefile
      Makefile.in
      aclocal.m4
      autom4te.cache
      config.h
      config.h.in
      config.log
      config.status
      configure
      libtool
      stamp-h
      stamp-h.in
      stamp-h1
      umem_test
      umem_test2
      Doxyfile
      umem.spec
      *.tar.gz
      *.tar.bz2
      to
      *.lo
      *.la
      .deps
      .libs
      *.loT
      Makefile
      Makefile.in
      aclocal.m4
      autom4te.cache
      config.h
      config.h.in
      config.log
      config.status
      configure
      libtool
      stamp-h
      stamp-h.in
      stamp-h1
      umem_test
      umem_test2
      umem_test3
      Doxyfile
      umem.spec
      *.tar.gz
      *.tar.bz2
  • trunk/malloc.c

    r2 r24  
    415415        return (buf); 
    416416} 
     417 
     418void __attribute__((constructor)) 
     419__malloc_umem_init (void) 
     420{ 
     421  umem_startup(NULL, 0, 0, NULL, NULL); 
     422}