[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/gc/ptr_chck.c [Boehm-GC]
From: |
Dave Love |
Subject: |
[Emacs-diffs] Changes to emacs/gc/ptr_chck.c [Boehm-GC] |
Date: |
Mon, 16 Jun 2003 11:41:53 -0400 |
Index: emacs/gc/ptr_chck.c
diff -c emacs/gc/ptr_chck.c:1.2.2.1 emacs/gc/ptr_chck.c:1.2.2.2
*** emacs/gc/ptr_chck.c:1.2.2.1 Thu Jun 5 14:23:04 2003
--- emacs/gc/ptr_chck.c Mon Jun 16 11:41:51 2003
***************
*** 79,85 ****
return(p);
}
sz = WORDS_TO_BYTES(hhdr -> hb_sz);
! if (sz > WORDS_TO_BYTES(MAXOBJSZ)) {
base = (ptr_t)HBLKPTR(p);
limit = base + sz;
if ((ptr_t)p >= limit) {
--- 79,85 ----
return(p);
}
sz = WORDS_TO_BYTES(hhdr -> hb_sz);
! if (sz > MAXOBJBYTES) {
base = (ptr_t)HBLKPTR(p);
limit = base + sz;
if ((ptr_t)p >= limit) {
***************
*** 165,171 ****
pdispl = HBLKDISPL(p);
map_entry = MAP_ENTRY((hhdr -> hb_map), pdispl);
if (map_entry == OBJ_INVALID
! || sz > MAXOBJSZ && (ptr_t)p >= (ptr_t)h + sz) {
goto fail;
}
return(p);
--- 165,171 ----
pdispl = HBLKDISPL(p);
map_entry = MAP_ENTRY((hhdr -> hb_map), pdispl);
if (map_entry == OBJ_INVALID
! || sz > MAXOBJBYTES && (ptr_t)p >= (ptr_t)h + sz) {
goto fail;
}
return(p);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/gc/ptr_chck.c [Boehm-GC],
Dave Love <=