rpms/xfce4-netload-plugin/devel xfce4-netload-plugin-bufsize.patch, 1.1, 1.2 xfce4-netload-plugin.spec, 1.2, 1.3

Christoph Wickert (cwickert) fedora-extras-commits at redhat.com
Sat Feb 18 22:29:50 UTC 2006


Author: cwickert

Update of /cvs/extras/rpms/xfce4-netload-plugin/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16510

Modified Files:
	xfce4-netload-plugin-bufsize.patch xfce4-netload-plugin.spec 
Log Message:
Rebuild for Fedora Extras 5 & modify bufsize-patch

xfce4-netload-plugin-bufsize.patch:

Index: xfce4-netload-plugin-bufsize.patch
===================================================================
RCS file: /cvs/extras/rpms/xfce4-netload-plugin/devel/xfce4-netload-plugin-bufsize.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xfce4-netload-plugin-bufsize.patch	3 Feb 2006 20:22:38 -0000	1.1
+++ xfce4-netload-plugin-bufsize.patch	18 Feb 2006 22:29:49 -0000	1.2
@@ -1,17 +1,11 @@
---- panel-plugin/wormulon/linux.c.orig	2006-02-03 20:48:17.000000000 +0100
-+++ panel-plugin/wormulon/linux.c	2005-08-01 00:56:38.000000000 +0200
-@@ -101,11 +101,11 @@
- 
-     /* do not parse the first two lines as they only contain static garbage */
-     fseek(proc_net_dev, 0, SEEK_SET);
--    fgets(buffer, BUFSIZ-1, proc_net_dev);
--    fgets(buffer, BUFSIZ-1, proc_net_dev);
-+    fgets(buffer, BUFSIZE-1, proc_net_dev);
-+    fgets(buffer, BUFSIZE-1, proc_net_dev);
- 
-     interfacefound = 0;
--    while (fgets(buffer, BUFSIZ-1, proc_net_dev) != NULL)
-+    while (fgets(buffer, BUFSIZE-1, proc_net_dev) != NULL)
-     {
-         /* find the device name and substitute ':' with '\0' */
-         ptr = buffer;
+--- panel-plugin/wormulon/linux.c.orig	2005-08-01 00:56:38.000000000 +0200
++++ panel-plugin/wormulon/linux.c	2006-02-04 13:20:14.000000000 +0100
+@@ -81,7 +81,7 @@
+      * performance difference is _very_ minimal. But I don't think that it's a good
+      * idea to keep the file open for a very long time for _each_ plugin instance.
+      */
+-    char buffer[BUFSIZE];
++    char buffer[BUFSIZ];
+     char *ptr;
+     char *devname;
+     int dump;


Index: xfce4-netload-plugin.spec
===================================================================
RCS file: /cvs/extras/rpms/xfce4-netload-plugin/devel/xfce4-netload-plugin.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xfce4-netload-plugin.spec	3 Feb 2006 20:22:38 -0000	1.2
+++ xfce4-netload-plugin.spec	18 Feb 2006 22:29:49 -0000	1.3
@@ -1,6 +1,6 @@
 Name:		xfce4-netload-plugin
 Version:	0.3.3
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	Network-load monitor for the Xfce panel
 
 Group:		User Interface/Desktops
@@ -39,8 +39,12 @@
 %{_libdir}/xfce4/panel-plugins/*.so
 
 %changelog
+* Sat Feb 18 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-5
+- Rebuild for Fedora Extras 5.
+- Modify bufsize-patch.
+
 * Thu Feb 02 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-4
-- Add bufsize-patch (#179686)
+- Add bufsize-patch (#179686).
 
 * Thu Dec 01 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-3
 - Add libxfcegui4-devel BuildReqs.




More information about the scm-commits mailing list