Branch: Tag:

1998-10-14

1998-10-14 22:18:18 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix for !DEBUG

Rev: src/stralloc.c:1.44

15:      #include <ctype.h>    - RCSID("$Id: stralloc.c,v 1.43 1998/10/14 05:48:46 hubbe Exp $"); + RCSID("$Id: stralloc.c,v 1.44 1998/10/14 22:18:18 hubbe Exp $");      #define BEGIN_HASH_SIZE 997   #define MAX_AVG_LINK_LENGTH 3
139:   CONVERT(2,0)   CONVERT(2,1)    - #ifdef DEBUG - #ifdef DEBUG_MALLOC - #define DM(X) X - #else - #define DM(X) - #endif +       int generic_compare_strings(const void *a,int alen, int asize,    const void *b,int blen, int bsize)
208:    generic_memcpy(to,MKPCHARP_STR(from),from->len);   }    +  + #ifdef DEBUG + #ifdef DEBUG_MALLOC + #define DM(X) X + #else + #define DM(X) + #endif +    static void locate_problem(int (*isproblem)(struct pike_string *))   {    unsigned INT32 e;