pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
1999-06-30
1999-06-30 23:43:47 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
5490e19659703059343c202f15a3c68082acc8fa (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
0.6
bugfix
Rev: lib/modules/Thread.pmod:1.12
Rev: src/stralloc.c:1.53
15:
#include <ctype.h>
-
RCSID("$Id: stralloc.c,v 1.
52
1998
/
12
/
20
09
:
24
:
26
hubbe Exp $");
+
RCSID("$Id: stralloc.c,v 1.
53
1999
/
06
/
30
23
:
43
:
47
hubbe Exp $");
#define BEGIN_HASH_SIZE 997 #define MAX_AVG_LINK_LENGTH 3
1604:
void string_builder_shared_strcat(struct string_builder *s, struct pike_string *str) {
-
string_build_mkspace(s,str->len,
s
->
s->
size_shift);
+
string_build_mkspace(s,str->len,
str
->size_shift);
pike_string_cpy(MKPCHARP_STR_OFF(s->s,s->s->len), str); s->known_shift=MAXIMUM(s->known_shift,str->size_shift);