alloca() portability

Dave Jones djones at megatest.UUCP
Thu Nov 29 09:00:19 AEST 1990


>From article <1990Nov24.035618.11358 at zoo.toronto.edu>, by henry at zoo.toronto.edu (Henry Spencer):
> 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