lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hi, list

As per the documentation(i.e.,
which says [emphasise mine]:
This code assumes that realloc does not fail when shrinking a block.
(Although Standard C does not ensure this behavior, it seems to be a
safe assumption.)

Then a question arises:
What problems may occur if the restriction(i.e. l_alloc should not
fail when shrinking the block) is broken?

Thank you for your attention to this matter.
Best regards