bugfix in H5OpenFile()

This commit is contained in:
gsell committed 2011-10-27 11:43:14 +00:00
1 parent 29888601b8
commit ce8b6dae77
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -312,7 +312,7 @@ int main(int argc, const char *argv[])
string ifn = string(input_name) + string(".h5");
h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, NULL);
h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, 0);
if( h5file == NULL ) {
fprintf(stdout, "unable to open file %s\n", input_name);
+1 -1
View File
@@ -336,7 +336,7 @@ int main(int argc, const char *argv[])
string ifn = string(input_name) + string(".h5");
h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, NULL);
h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, 0);
if( h5file == NULL ) {
fprintf(stdout, "unable to open file %s\n", input_name);