Ignore:
Timestamp:
Aug 7, 2008, 9:13:24 PM (16 years ago)
Author:
katerina
Message:

Documentation update, more dnmalloc fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/make-tests.sh

    r171 r172  
    5757int main(void)
    5858{
     59#if !defined(USE_SYSTEM_MALLOC)
     60    typedef void assert_handler_tp(const char * error, const char *file, int line);
     61    extern assert_handler_tp *dnmalloc_set_handler(assert_handler_tp *new);
     62    extern void safe_fatal  (const char * details, const char *f, int l);
     63#endif
    5964#if !defined(USE_SYSTEM_MALLOC) && defined(USE_MALLOC_LOCK)
    6065    extern int dnmalloc_pthread_init(void);
    6166    dnmalloc_pthread_init();
     67#endif
     68#if !defined(USE_SYSTEM_MALLOC)
     69    (void) dnmalloc_set_handler(safe_fatal);
    6270#endif
    6371    int retval;
Note: See TracChangeset for help on using the changeset viewer.