(r_re_alloc): Correct realloc behavior--allow shrinking
authorRichard M. Stallman <rms@gnu.org>
Tue, 28 Mar 1995 17:43:24 +0000 (17:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 28 Mar 1995 17:43:24 +0000 (17:43 +0000)
commit49f82b3d1a092f8e0d864982acaf9678e8571dd0
tree81591ca08c0f5ebfa44310115b108370f7e67885
parentc782bea55047f1a15ae78d07a9e2c1ad609d8929
(r_re_alloc): Correct realloc behavior--allow shrinking
of blocks while reallocating, if shrinking by more than one page.
(relocate_blocs, resize_blocs): Added failsafe to protect future
calling of these routines when in frozen state.
(r_alloc_thaw): Added call to r_alloc_init.
(relocate_blocks, resize_bloc, r_alloc_sbrk, r_alloc_thaw): Extended
functionality to let ralloc package work in frozen state, allowing
for the existence of unused blocks.
src/ralloc.c