Branch: Tag:

1999-10-19

1999-10-19 15:31:21 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

better program naming with DMALLOC

Rev: src/encode.c:1.41
Rev: src/language.yacc:1.127
Rev: src/program.c:1.160

24:   #include "stuff.h"   #include "version.h"    - RCSID("$Id: encode.c,v 1.40 1999/10/18 22:54:32 hubbe Exp $"); + RCSID("$Id: encode.c,v 1.41 1999/10/19 15:31:19 hubbe Exp $");      #ifdef _AIX   #include <net/nh.h>
1102: Inside #if defined(DEBUG_MALLOC)
     #ifdef DEBUG_MALLOC    if(p->num_linenumbers && p->linenumbers && -  EXTRACT_UCHAR(p->linenumbers)) -  debug_malloc_name(p, p->linenumbers+1, 0); +  EXTRACT_UCHAR(p->linenumbers)==127) +  { +  char *foo; +  extern int get_small_number(char **); +  foo=p->linenumbers+1; +  foo+=strlen(foo)+1; +  debug_malloc_name(p, p->linenumbers+1, +  get_small_number(&foo)); +  }   #endif