Branch: Tag:

2001-11-09

2001-11-09 02:09:16 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

Changes from Hubbe
search with empty strings now works 'as expected'

Rev: src/stralloc.c:1.138

27:   #define HUGE HUGE_VAL   #endif /*!HUGE*/    - RCSID("$Id: stralloc.c,v 1.137 2001/09/27 20:45:57 mast Exp $"); + RCSID("$Id: stralloc.c,v 1.138 2001/11/09 02:09:14 nilsson Exp $");      /* #define STRALLOC_USE_PRIMES */   
1618:    start + needle->len > haystack->len)    return -1;    +  if(!needle->len) return start; +     mojt=compile_memsearcher(MKPCHARP_STR(needle),    needle->len,    haystack->len,