There is a public-domain implementation of alloca at http://www.cs.purdue.edu/homes/apm/courses/BITSC461-fall03/listen-code/listen-1.0-dave/lsl_cpp/alloca.c It would still fail on architectures that don't use a stack frame; other than that, it seems like a reasonable fallback, if alloca is otherwise desirable. -jJ