pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2001-01-10
2001-01-10 11:28:51 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
3d0d5d2a2beb794d4faeb7eac3587329696d0991 (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
fixed a serious bug
Rev: src/stralloc.c:1.114
26:
#define HUGE HUGE_VAL #endif /*!HUGE*/
-
RCSID("$Id: stralloc.c,v 1.
113
2000
/
12
/
18
23
:
59
:
10
grubba
Exp $");
+
RCSID("$Id: stralloc.c,v 1.
114
2001
/
01
/
10
11
:
26
:
44
hubbe
Exp $");
#define BEGIN_HASH_SIZE 997 #define MAX_AVG_LINK_LENGTH 3
656:
(len > SHORT_STRING_THRESHOLD) && str->len > len/2 ) { str->len=len;
+
str->str[len]=0;
return end_shared_string(str); } tmp = make_shared_binary_pcharp(MKPCHARP_STR(str),len);