rpms/hdf5/devel hdf5-1.6.5-open.patch,NONE,1.1 hdf5.spec,1.13,1.14

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Wed Aug 8 22:47:39 UTC 2007


Author: orion

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

Modified Files:
	hdf5.spec 
Added Files:
	hdf5-1.6.5-open.patch 
Log Message:
Pass mode to open with O_CREAT


hdf5-1.6.5-open.patch:

--- NEW FILE hdf5-1.6.5-open.patch ---
--- hdf5-1.6.5/perform/zip_perf.c.open	2007-08-08 14:55:09.000000000 -0600
+++ hdf5-1.6.5/perform/zip_perf.c	2007-08-08 14:55:25.000000000 -0600
@@ -545,7 +545,7 @@
         unlink(filename);
 
         /* do compressed data write */
-        output = open(filename, O_RDWR | O_CREAT);
+        output = open(filename, O_RDWR | O_CREAT, S_IRWXU);
 
         if (output == -1)
             error(strerror(errno));


Index: hdf5.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hdf5/devel/hdf5.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- hdf5.spec	8 Aug 2007 19:54:21 -0000	1.13
+++ hdf5.spec	8 Aug 2007 22:47:01 -0000	1.14
@@ -1,6 +1,6 @@
 Name: hdf5
 Version: 1.6.5
-Release: 7%{?dist}
+Release: 8%{?dist}
 Summary: A general purpose library and file format for storing scientific data
 License: BSD-ish
 Group: System Environment/Libraries
@@ -16,6 +16,7 @@
 Patch7: hdf5-1.6.5-x86_64.patch
 Patch8: hdf5-1.6.5-sort.patch
 Patch9: hdf5-1.6.5-memset.patch
+Patch10: hdf5-1.6.5-open.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-gfortran, time
 
@@ -48,6 +49,7 @@
 %patch7 -p1 -b .x86_64
 %patch8 -p1 -b .sort
 %patch9 -p1 -b .memset
+%patch10 -p1 -b .open
 
 %build
 %configure --with-ssl --enable-cxx --enable-fortran \
@@ -105,6 +107,7 @@
 %changelog
 * Wed Aug  8 2007 Orion Poplawski <orion at cora.nwra.com> 1.6.5-8
 - Fix memset typo
+- Pass mode to open with O_CREAT
 
 * Mon Feb 12 2007 Orion Poplawski <orion at cora.nwra.com> 1.6.5-7
 - New project URL




More information about the fedora-extras-commits mailing list