Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 84b73ed262f048b0604f4f1d117d9f26 > files > 6

hdf5-1.8.1-3mdv2009.0.src.rpm

--- c++/src/H5PropList.cpp
+++ c++/src/H5PropList.cpp
@@ -20,6 +20,7 @@
 #endif
 
 #include <string>
+#include <cstdlib>
 
 #include "H5Include.h"
 #include "H5Exception.h"
--- perform/zip_perf.c
+++ perform/zip_perf.c
@@ -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));