rpms/libpciaccess/F-9 libpciaccess-fd-cache.patch, 1.1, 1.2 libpciaccess.spec, 1.14, 1.15

Adam Jackson (ajax) fedora-extras-commits at redhat.com
Wed Jul 2 19:21:08 UTC 2008


Author: ajax

Update of /cvs/pkgs/rpms/libpciaccess/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3196

Modified Files:
	libpciaccess-fd-cache.patch libpciaccess.spec 
Log Message:
* Wed Jul 02 2008 Adam Jackson <ajax at redhat.com> 0.10.3-2
- Fix file access mode in config fd cache. (#452910)


libpciaccess-fd-cache.patch:

Index: libpciaccess-fd-cache.patch
===================================================================
RCS file: /cvs/pkgs/rpms/libpciaccess/F-9/libpciaccess-fd-cache.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libpciaccess-fd-cache.patch	23 Jan 2008 18:45:55 -0000	1.1
+++ libpciaccess-fd-cache.patch	2 Jul 2008 19:20:13 -0000	1.2
@@ -91,7 +91,7 @@
 -
 -    fd = open( name, O_RDONLY );
 -    if ( fd == -1 ) {
-+    fd = open_config_fd( dev, O_RDONLY );
++    fd = open_config_fd( dev, O_RDWR );
 +    if ( fd == -1 )
  	return errno;
 -    }
@@ -125,7 +125,7 @@
 -
 -    fd = open( name, O_WRONLY );
 -    if ( fd == -1 ) {
-+    fd = open_config_fd( dev, O_WRONLY );
++    fd = open_config_fd( dev, O_RDWR );
 +    if ( fd == -1 )
  	return errno;
 -    }


Index: libpciaccess.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libpciaccess/F-9/libpciaccess.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- libpciaccess.spec	1 Jul 2008 20:30:51 -0000	1.14
+++ libpciaccess.spec	2 Jul 2008 19:20:13 -0000	1.15
@@ -3,7 +3,7 @@
 
 Name:           libpciaccess
 Version:        0.10.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        PCI access library
 
 Group:          System Environment/Libraries
@@ -70,6 +70,9 @@
 %{_libdir}/pkgconfig/pciaccess.pc
 
 %changelog
+* Wed Jul 02 2008 Adam Jackson <ajax at redhat.com> 0.10.3-2
+- Fix file access mode in config fd cache. (#452910)
+
 * Tue Jul 01 2008 Adam Jackson <ajax at redhat.com> 0.10.3-1
 - libpciaccess 0.10.3
 




More information about the fedora-extras-commits mailing list