Peter Memishian wrote:
>  > In general |alloca()| should be avoided in portable code and for
>  > perforamce reasons since some platforms implement |alloca()| via
>  > |malloc()|
> 
> What platform does that?

AFAIK that was Aztek C long ago which implemented |alloca()| via
|malloc()| and some special glue in the prolog/epilog of the consumer
function to deallocate the memory when the function exists (the
implementation didn't care about |longjmp()|... ;-( ).

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to