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) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
