pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
1999-06-30
1999-06-30 18:34:09 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
964179edda42b964480052c7d9dee349e24fdc05 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
bugfix (for replace)
Rev: src/stralloc.c:1.60
23:
#define HUGE HUGE_VAL #endif /*!HUGE*/
-
RCSID("$Id: stralloc.c,v 1.
59
1999/
05
/
02
08
:
11
:
49
hubbe Exp $");
+
RCSID("$Id: stralloc.c,v 1.
60
1999/
06
/
30
18
:
34
:
09
hubbe Exp $");
#define BEGIN_HASH_SIZE 997 #define MAX_AVG_LINK_LENGTH 3
1627:
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);