Branch: Tag:

1999-08-14

1999-08-14 15:09:27 by Per Hedbor <ph@opera.com>

Cute bug

Rev: src/stralloc.c:1.61

23:   #define HUGE HUGE_VAL   #endif /*!HUGE*/    - RCSID("$Id: stralloc.c,v 1.60 1999/06/30 18:34:09 hubbe Exp $"); + RCSID("$Id: stralloc.c,v 1.61 1999/08/14 15:09:27 per Exp $");      #define BEGIN_HASH_SIZE 997   #define MAX_AVG_LINK_LENGTH 3
160:    if(alen != blen) return 0;    if(asize==bsize)    { -  return !MEMCPY(a,b,alen<<asize); +  return !MEMCMP(a,b,alen<<asize);    }else{    INT32 pos;    for(pos=0;pos< alen ;pos++)