Skip to content

definition of R_problem_buf in S.h (PR#210)

1 message · Duncan Temple Lang

#
Absolutely. I was just thinking of not having many statics but that we
could deal with a single one by adding it to the Evaluator
structure. In this way, there is a single one per evaluator and at
present this is adequate. If we need more, we introduce a stack or
linked list.  If we dynamically generate the buffer in the call, then
we will have to change the arguments, etc. to pass it out to other
routines. Otherwise, if we use the statics to communicate the new
buffer we are no better off, except for the dynamic allocation
avoiding the buffer overflow.


Robert will likely be doing things with all of this via
his exception/handler mechanism also.