rpms/nspluginwrapper/devel plugin-config-exclude.patch, NONE, 1.1 nspluginwrapper.spec, 1.40, 1.41

Martin Stransky (stransky) fedora-extras-commits at redhat.com
Tue Jan 22 11:21:58 UTC 2008


Author: stransky

Update of /cvs/pkgs/rpms/nspluginwrapper/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5052

Modified Files:
	nspluginwrapper.spec 
Added Files:
	plugin-config-exclude.patch 
Log Message:
Fixed exclude list handling

plugin-config-exclude.patch:

--- NEW FILE plugin-config-exclude.patch ---
diff -up nspluginwrapper-0.9.91.5/plugin-config-1.8/src/plugin-config.c.old nspluginwrapper-0.9.91.5/plugin-config-1.8/src/plugin-config.c
--- nspluginwrapper-0.9.91.5/plugin-config-1.8/src/plugin-config.c.old	2007-11-06 12:34:16.000000000 +0100
+++ nspluginwrapper-0.9.91.5/plugin-config-1.8/src/plugin-config.c	2008-01-22 12:15:33.000000000 +0100
@@ -171,11 +171,12 @@ int is_excluded_list(char *p_name, EXCLU
 {
   char *p_list = get_exclude_list(type);
   int ret = FALSE;
-  
+
   if(p_list) {
+    char *p_tmp = p_list;
     char *p_file = tail_get(p_name, '/');
     char *p_act;
-    while((p_act = strsep(&p_list, ":"))) {
+    while((p_act = strsep(&p_tmp, ":"))) {
       if(!fnmatch(p_act,p_file,0)) {
         ret = TRUE;
         break;


Index: nspluginwrapper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nspluginwrapper/devel/nspluginwrapper.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- nspluginwrapper.spec	21 Jan 2008 14:58:34 -0000	1.40
+++ nspluginwrapper.spec	22 Jan 2008 11:21:17 -0000	1.41
@@ -83,6 +83,7 @@
 Patch6:         nspluginwrapper-0.9.91.5-xulrunner.patch
 Patch7:         nspluginwrapper-0.9.91.5-npviewer-gthread.patch
 Patch8:         nspluginwrapper-0.9.91.5-shutdown.patch
+Patch9:         plugin-config-exclude.patch
 Patch10:        plugin-config-setuid.patch
 License:	GPL
 Group:		Networking/WWW
@@ -115,6 +116,7 @@
 %patch6 -p1 -b .xl
 %patch7 -p1 -b .thread
 %patch8 -p1 -b .shutdown
+%patch9 -p1
 
 pushd %plugin_config_name
 %patch10 -p2




More information about the fedora-extras-commits mailing list