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: Mon, 15 Oct 2007 22:27:12 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/10/15 22:27:12

Modified files:
        .              : ChangeLog 
        plugin         : plugin.cpp 

Log message:
                * plugin/plugin.cpp: don't call NSAPI code after the fork.
                  Patch from https://bugzilla.redhat.com/show_bug.cgi?id=281061.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4614&r2=1.4615
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.cpp?cvsroot=gnash&r1=1.84&r2=1.85

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4614
retrieving revision 1.4615
diff -u -b -r1.4614 -r1.4615
--- ChangeLog   15 Oct 2007 21:42:20 -0000      1.4614
+++ ChangeLog   15 Oct 2007 22:27:11 -0000      1.4615
@@ -1,3 +1,8 @@
+2007-10-15 Martin Stransky 
+
+       * plugin/plugin.cpp: don't call NSAPI code after the fork.
+         Patch from https://bugzilla.redhat.com/show_bug.cgi?id=281061.
+
 2007-10-15 Sandro Santilli <address@hidden>
 
        * server/as_environment.{cpp,h}: have find_object_{dot,slash}syntax

Index: plugin/plugin.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- plugin/plugin.cpp   18 Aug 2007 16:48:43 -0000      1.84
+++ plugin/plugin.cpp   15 Oct 2007 22:27:12 -0000      1.85
@@ -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.84 2007/08/18 16:48:43 strk Exp $ */
+/* $Id: plugin.cpp,v 1.85 2007/10/15 22:27:12 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -490,6 +490,14 @@
       procname = gnash_env;
     }
 
+    const char* pageurl = getCurrentPageURL();
+    if ( ! pageurl )
+    {
+       cout << "Could not get current page URL!" << endl;
+       //log_msg("UNIMPLEMENTED: current page url: %s", pageurl);
+       // invoke gnash with -U <current_page_url>
+    }
+
     struct stat procstats;
 
     // See if the file actually exists, otherwise we can't spawn it
@@ -558,14 +566,6 @@
 
     // setup the command line
 
-    const char* pageurl = getCurrentPageURL();
-    if ( ! pageurl )
-    {
-       cout << "Could not get current page URL!" << endl;
-       //log_msg("UNIMPLEMENTED: current page url: %s", pageurl);
-       // invoke gnash with -U <current_page_url>
-    }
-
     const size_t buf_size = 30;
     char xid[buf_size], width[buf_size], height[buf_size];
     snprintf(xid, buf_size, "%ld", win);




reply via email to

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