pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
1999-10-19
1999-10-19 13:33:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>
c9e5eb737cb111cc2c16704b5ecf17bff0a86edb (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Minor paranoia change.
Rev: src/stralloc.c:1.66
23:
#define HUGE HUGE_VAL #endif /*!HUGE*/
-
RCSID("$Id: stralloc.c,v 1.
65
1999/10/
18
22
:
55
:
17
hubbe
Exp $");
+
RCSID("$Id: stralloc.c,v 1.
66
1999/10/
19
13
:
33
:
37
grubba
Exp $");
#define BEGIN_HASH_SIZE 997 #define MAX_AVG_LINK_LENGTH 3
665:
void unlink_pike_string(struct pike_string *s) {
-
int h=s->hval % htable_size;
+
unsigned
int h=s->hval % htable_size;
propagate_shared_string(s,h); base_table[h]=s->next; #ifdef PIKE_DEBUG