gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog plugin/plugin.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog plugin/plugin.cpp
Date: Fri, 30 Nov 2007 12:55:55 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/11/30 12:55:54

Modified files:
        .              : ChangeLog 
        plugin         : plugin.cpp 

Log message:
        don't use operator+ on temp string, it seems to have weird problems in 
some cases. See bug #21667.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5027&r2=1.5028
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.cpp?cvsroot=gnash&r1=1.87&r2=1.88

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5027
retrieving revision 1.5028
diff -u -b -r1.5027 -r1.5028
--- ChangeLog   30 Nov 2007 11:26:04 -0000      1.5027
+++ ChangeLog   30 Nov 2007 12:55:54 -0000      1.5028
@@ -1,5 +1,10 @@
 2007-11-30 Sandro Santilli <address@hidden>
 
+       * plugin/plugin.cpp: don't use operator+ on temp string, it seems
+         to have weird problems in some cases. See bug #21667.
+
+2007-11-30 Sandro Santilli <address@hidden>
+
        * server/movie_root.{cpp,h}: support swapping and removing levels,
          add a pointer to originally loaded movie for methods still needing 
          that.

Index: plugin/plugin.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.cpp,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -b -r1.87 -r1.88
--- plugin/plugin.cpp   23 Oct 2007 18:13:59 -0000      1.87
+++ plugin/plugin.cpp   30 Nov 2007 12:55:54 -0000      1.88
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: plugin.cpp,v 1.87 2007/10/23 18:13:59 strk Exp $ */
+/* $Id: plugin.cpp,v 1.88 2007/11/30 12:55:54 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -583,7 +583,9 @@
         const string& nam=it->first; 
         const string& val=it->second;
 
-        string param = nam + string("=") + val;
+        string param = nam;
+       param += string("=");
+       param += val;
         paramvalues.push_back(param);
     }
 




reply via email to

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