pike.git/
src/
mapping.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-02-09
2000-02-09 23:49:17 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
e945ee81061cb1e59d950d8d48070df1897c83b7 (
11
lines) (+
9
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
bugfixes..
Rev: src/las.c:1.162
Rev: src/mapping.c:1.65
5:
\*/ /**/ #include "global.h"
-
RCSID("$Id: mapping.c,v 1.
64
2000/02/09
18
:
50
:
19
hubbe Exp $");
+
RCSID("$Id: mapping.c,v 1.
65
2000/02/09
23
:
49
:
17
hubbe Exp $");
#include "main.h" #include "object.h" #include "mapping.h"
1198:
debug_malloc_touch(n->data); free_mapping_data(n->data); n->data=m->data;
+
#ifdef PIKE_DEBUG
+
n->debug_size=n->data->size;
+
#endif
n->data->refs++; n->data->valrefs++; n->data->hardlinks++;
1879:
m->data=&empty_data; m->data->refs++; next=m->next;
+
#ifdef PIKE_DEBUG
+
m->debug_size=0;
+
#endif
free_mapping(m); }
1908:
md->free_list=k; md->size--; #ifdef PIKE_DEBUG
-
m->debug_
size++
;
+
m->debug_
size--
;
#endif }else{ prev=&k->next;