Paul Lalonde wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Isn't the traditional solution to pre-allocate an emergency pad, and when malloc fails the emergency "I need more memory" handler gets to use that pad, and then propagates the condition upwards until some caller can handle the case?

it's very common, and you can probably patent it anyway.

ron

Reply via email to