summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-02-15 15:46:26 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-02-15 15:46:26 (GMT)
commitdda956608e8d58a3b8929ba50a7ff6e663532216 (patch)
treed4478521309fbca12431ef5dc8cd9d3e9feb97f7
parent5a91414d6e2faa7fd9dd0683b916b24128f49712 (diff)
downloadhdf5-dda956608e8d58a3b8929ba50a7ff6e663532216.zip
hdf5-dda956608e8d58a3b8929ba50a7ff6e663532216.tar.gz
hdf5-dda956608e8d58a3b8929ba50a7ff6e663532216.tar.bz2
[svn-r1957] removed the program type variable from the file
-rw-r--r--tools/h5ls.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index 3e5b1a4..8c1963f 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -1170,7 +1170,7 @@ dump_dataset_values(hid_t dset)
* Print all the values.
*/
printf(" Data:\n");
- if (h5dump_dset(stdout, &info, dset, -1)<0) {
+ if (h5dump_dset(stdout, &info, dset, -1, -1)<0) {
printf(" Unable to print data.\n");
}
@@ -1267,7 +1267,7 @@ list_attr (hid_t obj, const char *attr_name, void UNUSED *op_data)
buf = malloc(need);
assert(buf);
if (H5Aread(attr, p_type, buf)>=0) {
- h5dump_mem(stdout, &info, p_type, space, buf);
+ h5dump_mem(stdout, &info, p_type, space, buf,-1);
}
free(buf);
H5Tclose(p_type);
@@ -1918,9 +1918,6 @@ main (int argc, char *argv[])
DISPATCH(H5G_RAGGED, "Ragged Array", H5Gopen, H5Gclose,
NULL, ragged_list2);
- /* Init the program type for the tools lib*/
- programtype = H5LS; /*global*/
-
/* Name of this program without the path */
if ((progname=strrchr(argv[0], '/'))) progname++;
else progname = argv[0];