Subj : Re: General Protection Fault To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Sun Jan 23 2005 07:47 am Todd Burch wrote: >Also, along these same lines, I'm going to assume that this program is not reentrant, since I'm modifying the local variable "name". No, Local variables are required for reentrancy. It's globals you don't want to be using in reentrant functions. Every time you enter a function, new local variables are created on the stack, and destroyed when the function returns. >Would a better technique be to dynamically aquire some working storage? Only if the size is unkown, or large, or needs to be returned to the caller. .