equal
deleted
inserted
replaced
871 } |
871 } |
872 } |
872 } |
873 |
873 |
874 // Figure new capacity for each section. |
874 // Figure new capacity for each section. |
875 csize_t new_capacity[SECT_LIMIT]; |
875 csize_t new_capacity[SECT_LIMIT]; |
|
876 memset(new_capacity, 0, sizeof(csize_t) * SECT_LIMIT); |
876 csize_t new_total_cap |
877 csize_t new_total_cap |
877 = figure_expanded_capacities(which_cs, amount, new_capacity); |
878 = figure_expanded_capacities(which_cs, amount, new_capacity); |
878 |
879 |
879 // Create a new (temporary) code buffer to hold all the new data |
880 // Create a new (temporary) code buffer to hold all the new data |
880 CodeBuffer cb(name(), new_total_cap, 0); |
881 CodeBuffer cb(name(), new_total_cap, 0); |