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: Wed, 11 Oct 2006 21:30:21 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/10/11 21:30:21

Modified files:
        .              : ChangeLog 
        plugin         : plugin.cpp 

Log message:
        * plugin/plugin.cpp: raise maxargc to 16, split -r3 into two arguments 
(-r) and (3).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1152&r2=1.1153
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.cpp?cvsroot=gnash&r1=1.63&r2=1.64

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1152
retrieving revision 1.1153
diff -u -b -r1.1152 -r1.1153
--- ChangeLog   11 Oct 2006 18:53:53 -0000      1.1152
+++ ChangeLog   11 Oct 2006 21:30:21 -0000      1.1153
@@ -1,3 +1,8 @@
+2006-10-12 Sandro Santilli <address@hidden>
+
+       * plugin/plugin.cpp: raise maxargc to 16, split -r3
+         into two arguments (-r) and (3).
+
 2006-10-11 Markus Gothe <address@hidden>
 
        * configure.ac: Check for __FUNCTION__, __PRETTY__FUNCTION and 

Index: plugin/plugin.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -b -r1.63 -r1.64
--- plugin/plugin.cpp   11 Oct 2006 19:59:04 -0000      1.63
+++ plugin/plugin.cpp   11 Oct 2006 21:30:21 -0000      1.64
@@ -35,7 +35,7 @@
 // 
 //
 
-/* $Id: plugin.cpp,v 1.63 2006/10/11 19:59:04 nihilus Exp $ */
+/* $Id: plugin.cpp,v 1.64 2006/10/11 21:30:21 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -652,12 +652,16 @@
         paramvalues.push_back(param);
     }
 
-    const size_t maxargc = 15 + paramvalues.size()*2;
+    // REMEMBER TO INCREMENT THE maxargc COUNT IF YOU
+    // ADD NEW ARGUMENTS 
+
+    const size_t maxargc = 16 + paramvalues.size()*2;
     char **argv = new char *[maxargc];
 
     size_t argc = 0;
     argv[argc++] = const_cast<char*>( procname.c_str() );
-    argv[argc++] = "-r 3";
+    argv[argc++] = "-r";
+    argv[argc++] = "3";
     argv[argc++] = "-v";
     argv[argc++] = "-x";
     argv[argc++] = xid;




reply via email to

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