rpms/dap-hdf4_handler/devel dap-hdf4_handler-3.7.7-open.patch, NONE, 1.1 dap-hdf4_handler.spec, 1.17, 1.18

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Tue Jan 1 23:20:36 UTC 2008


Author: pertusus

Update of /cvs/extras/rpms/dap-hdf4_handler/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv519

Modified Files:
	dap-hdf4_handler.spec 
Added Files:
	dap-hdf4_handler-3.7.7-open.patch 
Log Message:
Add new patch

dap-hdf4_handler-3.7.7-open.patch:

--- NEW FILE dap-hdf4_handler-3.7.7-open.patch ---
Index: HDF4RequestHandler.cc
===================================================================
--- HDF4RequestHandler.cc	(revision 17607)
+++ HDF4RequestHandler.cc	(working copy)
@@ -72,7 +72,7 @@
             _cachedir = "/tmp";
 
         string dummy = _cachedir + "/dummy";
-        int fd = open(dummy.c_str(), O_CREAT | O_WRONLY | O_TRUNC);
+        int fd = open(dummy.c_str(), O_CREAT | O_WRONLY | O_TRUNC, O_RDWR);
         unlink(dummy.c_str());
         if (fd == -1) {
             if (_cachedir == "/tmp") {
Index: hdf_handler.cc
===================================================================
--- hdf_handler.cc	(revision 17607)
+++ hdf_handler.cc	(working copy)
@@ -84,7 +84,7 @@
         string cachedir = df.get_cache_dir();
 
         string dummy = df.get_cache_dir() + "/dummy";
-        int fd = open(dummy.c_str(), O_CREAT | O_WRONLY | O_TRUNC);
+        int fd = open(dummy.c_str(), O_CREAT | O_WRONLY | O_TRUNC, O_RDWR);
         unlink(dummy.c_str());
         if (fd == -1) {
             cachedir = "";


Index: dap-hdf4_handler.spec
===================================================================
RCS file: /cvs/extras/rpms/dap-hdf4_handler/devel/dap-hdf4_handler.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- dap-hdf4_handler.spec	1 Jan 2008 22:59:04 -0000	1.17
+++ dap-hdf4_handler.spec	1 Jan 2008 23:20:01 -0000	1.18
@@ -1,7 +1,7 @@
 Summary:         HDF4 data handler for the OPeNDAP Data server
 Name:            dap-hdf4_handler
 Version:         3.7.7
-Release:         1%{?dist}
+Release:         2%{?dist}
 License:         LGPLv2+
 Group:           System Environment/Daemons 
 Source0:         http://www.opendap.org/pub/source/hdf4_handler-%{version}.tar.gz
@@ -43,7 +43,7 @@
 %doc COPYING COPYRIGHT_URI NEWS README
 
 %changelog
-* Mon Dec 17 2007 Patrice Dumas <pertusus at free.fr> 3.7.7-1
+* Mon Dec 17 2007 Patrice Dumas <pertusus at free.fr> 3.7.7-2
 - update to 3.7.7
 
 * Fri Jun  1 2007 Patrice Dumas <pertusus at free.fr> 3.7.5-3




More information about the fedora-extras-commits mailing list