doubled marks size.
This commit is contained in:
parent
4e5121af4e
commit
693ca06902
|
@ -273,9 +273,9 @@ static ikptr do_read(ikpcb* pcb, fasl_port* p){
|
|||
}
|
||||
else {
|
||||
/* allocate marks */
|
||||
p->marks = (ikptr*)(long)ik_mmap(pagesize*sizeof(ikptr*));
|
||||
bzero(p->marks, pagesize*sizeof(ikptr*));
|
||||
p->marks_size = pagesize;
|
||||
p->marks = (ikptr*)(long)ik_mmap(2*pagesize*sizeof(ikptr*));
|
||||
bzero(p->marks, 2*pagesize*sizeof(ikptr*));
|
||||
p->marks_size = 2*pagesize;
|
||||
}
|
||||
}
|
||||
if(c == 'x'){
|
||||
|
|
Loading…
Reference in New Issue