rpms/libvirt/F-7 libvirt-0.4.0-conffile-size.patch, NONE, 1.1 libvirt.spec, 1.63, 1.64
Daniel P. Berrange (berrange)
fedora-extras-commits at redhat.com
Wed Jan 2 21:58:57 UTC 2008
- Previous message (by thread): rpms/libvirt/F-8 libvirt-0.4.0-auth-null-cb.patch, NONE, 1.1 libvirt-0.4.0-conffile-size.patch, NONE, 1.1 libvirt.spec, 1.68, 1.69
- Next message (by thread): rpms/notify-python/devel .cvsignore, 1.2, 1.3 notify-python.spec, 1.3, 1.4 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: berrange
Update of /cvs/pkgs/rpms/libvirt/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29644
Modified Files:
libvirt.spec
Added Files:
libvirt-0.4.0-conffile-size.patch
Log Message:
Fix config file reading
libvirt-0.4.0-conffile-size.patch:
--- NEW FILE libvirt-0.4.0-conffile-size.patch ---
diff -rup libvirt-0.4.0.orig/src/conf.c libvirt-0.4.0.new/src/conf.c
--- libvirt-0.4.0.orig/src/conf.c 2007-12-12 08:30:49.000000000 -0500
+++ libvirt-0.4.0.new/src/conf.c 2008-01-02 16:30:12.000000000 -0500
@@ -705,7 +705,7 @@ error:
virConfPtr
__virConfReadFile(const char *filename)
{
- char content[4096];
+ char content[8192];
int fd;
int len;
Index: libvirt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/F-7/libvirt.spec,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- libvirt.spec 18 Dec 2007 11:48:23 -0000 1.63
+++ libvirt.spec 2 Jan 2008 21:58:20 -0000 1.64
@@ -11,10 +11,11 @@
Summary: Library providing a simple API virtualization
Name: libvirt
Version: 0.4.0
-Release: 1%{?dist}%{?extra_release}
+Release: 2%{?dist}%{?extra_release}
License: LGPL
Group: Development/Libraries
Source: libvirt-%{version}.tar.gz
+Patch1: libvirt-%{version}-conffile-size.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
URL: http://libvirt.org/
BuildRequires: python python-devel
@@ -84,6 +85,7 @@
%prep
%setup -q
+%patch1 -p1
%build
%configure --with-init-script=redhat --with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid --with-remote-file=%{_localstatedir}/run/libvirtd.pid
@@ -203,6 +205,9 @@
%doc docs/examples/python
%changelog
+* Wed Jan 2 2008 Daniel P. Berrange <berrange at redhat.com> - 0.4.0-2.fc7
+- Fix reading large config files (rhbz #426425)
+
* Tue Dec 18 2007 Daniel Veillard <veillard at redhat.com> - 0.4.0-1.fc7
- Release of 0.4.0
- SASL based authentication
- Previous message (by thread): rpms/libvirt/F-8 libvirt-0.4.0-auth-null-cb.patch, NONE, 1.1 libvirt-0.4.0-conffile-size.patch, NONE, 1.1 libvirt.spec, 1.68, 1.69
- Next message (by thread): rpms/notify-python/devel .cvsignore, 1.2, 1.3 notify-python.spec, 1.3, 1.4 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list