summaryrefslogtreecommitdiffstats
path: root/tools/h5dump.c
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-04 15:47:23 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-04 15:47:23 (GMT)
commita7c167e38969aeb2bc98c6f03e0a9a0584cacfb5 (patch)
tree7d3902571ec793daef6aa79fcd615f14df543310 /tools/h5dump.c
parent58b40b848ceb2ba1aadbdfc17610a96b45723dac (diff)
downloadhdf5-a7c167e38969aeb2bc98c6f03e0a9a0584cacfb5.zip
hdf5-a7c167e38969aeb2bc98c6f03e0a9a0584cacfb5.tar.gz
hdf5-a7c167e38969aeb2bc98c6f03e0a9a0584cacfb5.tar.bz2
[svn-r1298]
added a new variable to the tools lib that keeps track of what program is using the library. h5ls.c and h5dump.c needed to init the variable to the correct value for the programtype variable. this variable will hopefully only be temporary until the lib gets combined farther
Diffstat (limited to 'tools/h5dump.c')
-rw-r--r--tools/h5dump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index dde74b5..f50f487 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -1267,6 +1267,9 @@ H5Eset_auto (NULL, NULL);
exit(1);
}
+/*init the programtype var fromt he tools lib*/
+ programtype = H5DUMP;
+
opts = malloc((argc/2) * sizeof (int));
opts[0] = -1;
/* parse command line options */