Mail Archives: djgpp/1999/09/13/08:36:27
On Thu, 9 Sep 1999, Josh Reed wrote:
> I am almost positive that I overrun the stack. I looked
> in the faq and used stubedit to set my stack size to 4mb.
No, a small stack is almost certainly NOT your problem, so enlarging
it won't help. In the case of stack overflow, both ESP and EBP would
be invalid. But in your case, ESP is valid, while EBP is garbage.
This usually means that you are overruning some local array.
> I think it pukes on
> the really long pathnames (path is the variable that holds the current path.)
Examine carefully the declarations and the code that deal with char
arrays which hold path names.
- Raw text -