rpms/xchat/devel xc284-fix-scrollbfdleak.diff, NONE, 1.1 xchat.spec, 1.82, 1.83

Kevin Kofler (kkofler) fedora-extras-commits at redhat.com
Tue Dec 18 23:42:21 UTC 2007


Author: kkofler

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

Modified Files:
	xchat.spec 
Added Files:
	xc284-fix-scrollbfdleak.diff 
Log Message:
* Wed Dec 19 2007 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:2.8.4-8
- apply xc284-fix-scrollbfdleak.diff from upstream

xc284-fix-scrollbfdleak.diff:

--- NEW FILE xc284-fix-scrollbfdleak.diff ---
#
# Scrollback shrinking code forgets to close().
#
--- xchat-2.8.4/src/common/text.c	2007-06-13 19:59:56.000000000 +1000
+++ xchat-2.8.4p1/src/common/text.c	2007-11-02 23:52:57.000000000 +1100
@@ -141,6 +146,7 @@
 	}
 
 	*len = st.st_size;
+	close (fh);
 	return buf;
 }
 



Index: xchat.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xchat/devel/xchat.spec,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- xchat.spec	5 Dec 2007 14:56:08 -0000	1.82
+++ xchat.spec	18 Dec 2007 23:41:45 -0000	1.83
@@ -3,7 +3,7 @@
 Summary:   A popular and easy to use graphical IRC (chat) client
 Name:      xchat
 Version:   2.8.4
-Release:   7%{?dist}
+Release:   8%{?dist}
 Epoch:     1
 Group:     Applications/Internet
 License:   GPLv2+
@@ -18,6 +18,8 @@
 # 2) Puts a "Display scrollback from previous session" into the Setup GUI
 #    (logging section) so people can turn this off without typing commands.
 Patch1: xc284-improvescrollback.diff
+# Scrollback shrinking code forgets to close().
+Patch2: xc284-fix-scrollbfdleak.diff
 
 Patch10: xchat-2.8.4-redhat-desktop.patch
 Patch12: xchat-1.8.7-use-sysconf-to-detect-cpus.patch
@@ -64,6 +66,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %patch10 -p1 -b .desktop-file
 %patch12 -p0 -b .use-sysconf-to-detect-cpus
@@ -157,6 +160,9 @@
 %{_libdir}/xchat/plugins/tcl.so
 
 %changelog
+* Wed Dec 19 2007 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:2.8.4-8
+- apply xc284-fix-scrollbfdleak.diff from upstream
+
 * Wed Dec  5 2007 Christopher Aillon <caillon at redhat.com> - 1:2.8.4-7
 - Fix the icon key in the .desktop file to validate
 




More information about the fedora-extras-commits mailing list