--- hdf5-1.8.2.orig/perform/zip_perf.c 2009-03-21 14:36:55.000000000 +0100 +++ hdf5-1.8.2/perform/zip_perf.c 2009-03-21 14:37:26.000000000 +0100 @@ -549,7 +549,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)); --- hdf5-1.8.2.orig/config/gnu-flags 2009-03-21 18:00:58.000000000 +0100 +++ hdf5-1.8.2/config/gnu-flags 2009-03-21 18:00:03.000000000 +0100 @@ -151,7 +151,7 @@ # optimization levels (which shows up as failures for various integer # types -> long long conversions in the test/dtypes test). Perhaps # later versions of gcc will fix this bug... - QAK - 2003/10/20 - PROD_CFLAGS="-O" + PROD_CFLAGS="-O0" ;; gcc-4*) # Be optimistic about future versions of gcc.. :-) - QAK - 2003/10/20