pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2001-11-09
2001-11-09 02:09:16 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
bfcfb07b613ca62114947b96dc9b0857b451aa97 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
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,