MOO-cows Mailing List Archive


Re: call_function() and $bf_FOO()

On Sat, 27 Apr 1996 wrote:

> >I had thought of that, but I assumed this would be taken care of with
> >DEFAULT_MAX_STACK_DEPTH the same way regular verb calls are.
> but then the function doesn't get called at all. Say I had a #0:"bf_fileread
> bf_fileextract bf_filegrep [...]" and had this:
> [...]
> return call_function(verb[4..$],@args);
> endif
> Yeah, I know this doesn't do permissions checks, but you get the idea,
> anyway the builtin will never get called since it'll keep calling itself
> over and over again.
So?   If this happens, it obviously means something was programmed
incorrectly and should raise an E_MAXREC.  What else could it do?

Follow-Ups: References:

Home | Subject Index | Thread Index