octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #29491] recursive source() causes segfault


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #29491] recursive source() causes segfault
Date: Fri, 09 Apr 2010 20:57:27 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100308 Iceweasel/3.5.8 (like Firefox/3.5.8)

Update of bug #29491 (project octave):

                  Status:                    None => In Progress            

    _______________________________________________________

Follow-up Comment #2:

I think the limit should be Vmax_recursion_limit, not just the same value. 
That way, if a user sets max_recursion_limit, it will also affect recursive
uses of the source function.

To work the same as other recursion counts, we should be counting on a
per-file basis, not just recursive calls to the source function.  I would do
that with a map::<std::string, int> object so you can keep track of the
recursion count for a given full file name.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29491>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]