alloca() portability

Henry Spencer henry at zoo.toronto.edu
Sat Nov 24 14:56:18 AEST 1990


In article <14517 at megatest.UUCP> djones at megatest.UUCP (Dave Jones) writes:
>> A proper fix is
>> impossible without language changes.
>
>Isn't the change simply to legitimize alloca(), letting the compiler
>in on the gag?  That's what Sun did.

Please *read* the article you are responding to!  Memory allocation is only
one small fragment of the general problem of cleanup-on-return, and often not
the most important one.  I was addressing the general problem.
-- 
"I'm not sure it's possible            | Henry Spencer at U of Toronto Zoology
to explain how X works."               |  henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list