pike.git/
src/
pike_types.c
Branch:
Tag:
Non-build tags
All tags
No tags
2005-02-02
2005-02-02 10:15:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>
878cad5fab25c34ddcb16ce6d653c75f90263cb7 (
10
lines) (+
9
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Some more paranoia.
Rev: src/pike_types.c:1.241
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: pike_types.c,v 1.
240
2004
/
12
/
30
13
:
52
:
54
grubba Exp $
+
|| $Id: pike_types.c,v 1.
241
2005
/
02
/
02
10
:
15
:
58
grubba Exp $
*/ #include "global.h"
240:
struct pike_type *car, *cdr; unsigned INT32 type;
+
/* PIKE_DEBUG code */
+
if (hash >= pike_type_hash_size) {
+
Pike_fatal("Modulo operation failed for hash:%u, index:%u, size:%u.\n",
+
t->hash, hash, pike_type_hash_size);
+
}
+
/* End PIKE_DEBUG code */
+
while (*t2) { if (*t2 == t) { *t2 = t->next;