1996-02-24
1996-02-24 02:42:05 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
-
624d0919ccb7ed82a11cf9b7f7d11db9440cd0ca
(13 lines)
(+2/-11)
[
Show
| Annotate
]
Branch: branches/E-12
Garbage collect finished
Rev: lib/simulate.lpc:1.9
Rev: src/ChangeLog:1.17
Rev: src/Makefile.in:1.9
Rev: src/array.c:1.7
Rev: src/array.h:1.4
Rev: src/backend.c:1.3
Rev: src/backend.h:1.3
Rev: src/builtin_efuns.c:1.10
Rev: src/call_out.c:1.3
Rev: src/config.h:1.3
Rev: src/debug.c:1.2(DEAD)
Rev: src/debug.h:1.2(DEAD)
Rev: src/global.h:1.2
Rev: src/mapping.c:1.3
Rev: src/mapping.h:1.2
Rev: src/modules/efuns.c:1.2(DEAD)
Rev: src/modules/files/Makefile.in:1.2
Rev: src/modules/regexp/Makefile.in:1.2
Rev: src/modules/sprintf/Makefile.in:1.2
Rev: src/object.c:1.6
Rev: src/object.h:1.4
Rev: src/program.c:1.7
Rev: src/program.h:1.3
Rev: src/stralloc.c:1.2
Rev: src/stralloc.h:1.2
Rev: src/svalue.c:1.6
Rev: src/svalue.h:1.4
Rev: src/test/create_testsuite:1.8
30: Inside #if defined(DEBUG)
if(s->str[s->len])
fatal("Shared string is not zero terminated properly.\n");
-
- checked((void *)s,1);
+
}
- void verify_shared_strings_tables(int pass)
+ void verify_shared_strings_tables()
{
unsigned int e, h;
struct lpc_string *s;
44: Inside #if defined(DEBUG)
h=0;
for(s=base_table[e];s;s=s->next)
{
- if(pass)
- {
- if(checked((void *)s,0)!=s->refs)
- {
- fatal("Shared string has wrong number of refs '%s'.\n",s->str);
- }
- continue;
- }
+
h++;
if(s->len < 0)
fatal("Shared string shorter than zero bytes.\n");