gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog server/vm/ActionExec.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog server/vm/ActionExec.cpp
Date: Fri, 01 Jun 2007 10:04:39 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/06/01 10:04:39

Modified files:
        .              : ChangeLog 
        server/vm      : ActionExec.cpp 

Log message:
                * server/vm/ActionExec.cpp (call operator): if pc == oldPc 
that's
                  still to be considered a branch-back, so count it; Increment
                  branch-back limit to 2^16 (65535).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3431&r2=1.3432
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ActionExec.cpp?cvsroot=gnash&r1=1.35&r2=1.36

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3431
retrieving revision 1.3432
diff -u -b -r1.3431 -r1.3432
--- ChangeLog   1 Jun 2007 09:27:50 -0000       1.3431
+++ ChangeLog   1 Jun 2007 10:04:38 -0000       1.3432
@@ -1,5 +1,8 @@
 2007-06-01 Sandro Santilli <address@hidden>
 
+       * server/vm/ActionExec.cpp (call operator): if pc == oldPc that's
+         still to be considered a branch-back, so count it; Increment
+         branch-back limit to 2^16 (65535).
        * gui/Player.cpp: print a debugging message when the main gui loop
          returns so we know if we exited cleanly or due to a call to exit().
        * gui/gui.cpp{cpp,h}: add a quit() virtual method, for returning

Index: server/vm/ActionExec.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ActionExec.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- server/vm/ActionExec.cpp    25 May 2007 13:35:00 -0000      1.35
+++ server/vm/ActionExec.cpp    1 Jun 2007 10:04:39 -0000       1.36
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: ActionExec.cpp,v 1.35 2007/05/25 13:35:00 strk Exp $ */
+/* $Id: ActionExec.cpp,v 1.36 2007/06/01 10:04:39 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -244,10 +244,10 @@
        // as a timeout in seconds.
        // See: http://www.gnashdev.org/wiki/index.php/ScriptLimits
        // 
-       if ( pc < oldPc )
+       if ( pc <= oldPc )
        {
                // TODO: specify in the .gnashrc ?
-               size_t maxBranchCount = 512; // what's enough ?
+               size_t maxBranchCount = 65524; // what's enough ?
                if ( ++branchCount > maxBranchCount )
                {
                        char buf[256];




reply via email to

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