summaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-02-19 20:18:55 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-02-19 20:18:55 (GMT)
commit1bcb5fd93698a7491fae309c0a9a5006d2a560b4 (patch)
tree39bd2cf8e75280661f08706e0157c109be974fb6 /src/debug.c
parentcaee4e9f6f5a5d421a8410422cce09419a72de70 (diff)
downloadhdf5-1bcb5fd93698a7491fae309c0a9a5006d2a560b4.zip
hdf5-1bcb5fd93698a7491fae309c0a9a5006d2a560b4.tar.gz
hdf5-1bcb5fd93698a7491fae309c0a9a5006d2a560b4.tar.bz2
[svn-r294] Changes since 19980219
---------------------- ./src/H5A.c ./src/H5C.c Objects are removed from the group when there reference count hits zero regardless of whether H5A knows how to free the object. ./src/debug.c ./test/tstab.c Changed a zero to H5C_DEFAULT.
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c
index b5ea511..8356de7 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -17,6 +17,7 @@
#include <H5private.h>
#include <H5Aprivate.h>
#include <H5Bprivate.h>
+#include <H5Cprivate.h>
#include <H5Fprivate.h>
#include <H5Gprivate.h>
#include <H5Hprivate.h>
@@ -56,7 +57,7 @@ main(int argc, char *argv[])
/*
* Open the file and get the file descriptor.
*/
- if ((fid = H5Fopen(argv[1], 0, 0)) < 0) {
+ if ((fid = H5Fopen(argv[1], H5F_ACC_RDONLY, H5C_DEFAULT)) < 0) {
fprintf(stderr, "cannot open file\n");
HDexit(1);
}