diff options
author | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2017-10-26 15:13:33 (GMT) |
---|---|---|
committer | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2017-10-26 15:13:33 (GMT) |
commit | 59e7c7703e62717e7bf482bec2bbad52aada3c80 (patch) | |
tree | 59ebe294f77f57850a017ff9596234066d3acebd /tools/test/h5repack | |
parent | c3aa3978b2873b158a1917f8961c035f413b5e56 (diff) | |
parent | 084704392fa93d1569861c53504e89236468a3b6 (diff) | |
download | hdf5-59e7c7703e62717e7bf482bec2bbad52aada3c80.zip hdf5-59e7c7703e62717e7bf482bec2bbad52aada3c80.tar.gz hdf5-59e7c7703e62717e7bf482bec2bbad52aada3c80.tar.bz2 |
Merge branch 'develop' into hdf5_1_10
Diffstat (limited to 'tools/test/h5repack')
-rw-r--r-- | tools/test/h5repack/h5repacktst.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/test/h5repack/h5repacktst.c b/tools/test/h5repack/h5repacktst.c index d6e3201..f6166da 100644 --- a/tools/test/h5repack/h5repacktst.c +++ b/tools/test/h5repack/h5repacktst.c @@ -3711,7 +3711,7 @@ make_userblock(void) ub[u] = (char)('a' + (char)(u % 26)); /* Re-open HDF5 file, as "plain" file */ - if((fd = HDopen(FNAME16, O_WRONLY, 0644)) < 0) + if((fd = HDopen(FNAME16, O_WRONLY)) < 0) goto out; /* Write userblock data */ @@ -3775,7 +3775,7 @@ verify_userblock( const char* filename) /* Re-open HDF5 file, as "plain" file */ - if((fd = HDopen(filename, O_RDONLY, 0)) < 0) + if((fd = HDopen(filename, O_RDONLY)) < 0) goto out; /* Read userblock data */ @@ -3824,7 +3824,7 @@ make_userblock_file(void) ub[u] = (char)('a' + (char)(u % 26)); /* open file */ - if((fd = HDopen(FNAME_UB,O_WRONLY|O_CREAT|O_TRUNC, 0644 )) < 0) + if((fd = HDopen(FNAME_UB, O_WRONLY|O_CREAT|O_TRUNC, H5_POSIX_CREATE_MODE_RW)) < 0) goto out; /* write userblock data */ |