gnash-commit
[Top][All Lists]
Advanced

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

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


From: Chad Musick
Subject: [Gnash-commit] gnash ChangeLog server/vm/ASHandlers.cpp
Date: Wed, 03 Oct 2007 08:06:54 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Chad Musick <cmusick>   07/10/03 08:06:53

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

Log message:
        Make sure that ActionStringCompare has the correct size of stack out.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4504&r2=1.4505
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ASHandlers.cpp?cvsroot=gnash&r1=1.136&r2=1.137

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4504
retrieving revision 1.4505
diff -u -b -r1.4504 -r1.4505
--- ChangeLog   3 Oct 2007 07:52:46 -0000       1.4504
+++ ChangeLog   3 Oct 2007 08:06:53 -0000       1.4505
@@ -1,3 +1,9 @@
+2007-10-03 Chad Musick <address@hidden>
+
+       * server/vm/ASHandlers.cpp: Drop top of stack in ActionStringCompare,
+         since there are two stack elements on entry and (should be) one
+         on exit.
+
 2007-10-03 Sandro Santilli <address@hidden>
 
        * server/sprite_instance.cpp (unload): clear the drawable when unload

Index: server/vm/ASHandlers.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ASHandlers.cpp,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -b -r1.136 -r1.137
--- server/vm/ASHandlers.cpp    23 Sep 2007 08:48:19 -0000      1.136
+++ server/vm/ASHandlers.cpp    3 Oct 2007 08:06:53 -0000       1.137
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: ASHandlers.cpp,v 1.136 2007/09/23 08:48:19 cmusick Exp $ */
+/* $Id: ASHandlers.cpp,v 1.137 2007/10/03 08:06:53 cmusick Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1309,6 +1309,7 @@
     as_environment& env = thread.env;
     thread.ensureStack(2);
     env.top(1).set_bool(env.top(1).to_string(&env) < 
env.top(0).to_string(&env));
+       env.drop(1);
 }
 
 void




reply via email to

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