# HG changeset patch # User Ben Wing # Date 1263900957 21600 # Node ID 195ceb7d62297b5ef4b8bf0ceea03569c914d23b # Parent 94bba904528c525276d287e15fae5172baea70be (for main branch) Proper fix for dynarr->largest value assertion failure. Previous fix wasn't right. diff -r 94bba904528c -r 195ceb7d6229 src/lrecord.h --- a/src/lrecord.h Tue Jan 19 05:07:36 2010 -0600 +++ b/src/lrecord.h Tue Jan 19 05:35:57 2010 -0600 @@ -1146,7 +1146,7 @@ { XD_BLOCK_PTR, offsetof (base_type, base), \ XD_INDIRECT(1, 0), {sub_desc} }, \ { XD_INT, offsetof (base_type, len) }, \ - { XD_INT_RESET, offsetof (base_type, largest) }, \ + { XD_INT_RESET, offsetof (base_type, largest), XD_INDIRECT(1, 0) }, \ { XD_INT_RESET, offsetof (base_type, max), XD_INDIRECT(1, 0) } #ifdef NEW_GC @@ -1154,7 +1154,7 @@ { XD_LISP_OBJECT_BLOCK_PTR, offsetof (base_type, base), \ XD_INDIRECT(1, 0), {sub_desc} }, \ { XD_INT, offsetof (base_type, len) }, \ - { XD_INT_RESET, offsetof (base_type, largest) }, \ + { XD_INT_RESET, offsetof (base_type, largest), XD_INDIRECT(1, 0) }, \ { XD_INT_RESET, offsetof (base_type, max), XD_INDIRECT(1, 0) } #endif /* NEW_GC */