summaryrefslogtreecommitdiffstats
path: root/tools/h5ls
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-01-30 04:29:13 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-01-30 04:29:13 (GMT)
commitfd70b2afa883f94718ffb7f4f33d104d76e3fe0a (patch)
treec1add8db2a4848202d86a9b274bfaf8c7b80e961 /tools/h5ls
parent35b0159a0a5f1f4b80e305204ea51a742b052403 (diff)
downloadhdf5-fd70b2afa883f94718ffb7f4f33d104d76e3fe0a.zip
hdf5-fd70b2afa883f94718ffb7f4f33d104d76e3fe0a.tar.gz
hdf5-fd70b2afa883f94718ffb7f4f33d104d76e3fe0a.tar.bz2
[svn-r18197] Description:
Trim trailing whitespace from source code files with this command: find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//' Tested on: None - eyeballed only
Diffstat (limited to 'tools/h5ls')
-rw-r--r--tools/h5ls/h5ls.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index 9bc0448..c969670 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -1544,7 +1544,7 @@ dataset_list2(hid_t dset, const char UNUSED *name)
printf(" %-10s ", "Storage:");
switch (tclass)
{
-
+
case H5T_VLEN:
printf("information not available");
break;
@@ -1555,20 +1555,20 @@ dataset_list2(hid_t dset, const char UNUSED *name)
printf("information not available");
}
break;
-
+
default:
printf("%lu logical byte%s, %lu allocated byte%s",
(unsigned long)total, 1==total?"":"s",
(unsigned long)used, 1==used?"":"s");
- if (used>0)
+ if (used>0)
{
utilization = (total*100.0)/used;
printf(", %1.2f%% utilization", utilization);
}
-
+
}
-
-
+
+
putchar('\n');
/* Print information about external strorage */
@@ -1937,7 +1937,7 @@ list_lnk(const char *name, const H5L_info_t *linfo, void *_iter)
hbool_t orig_grp_literal = grp_literal_g;
HDfputc(' ', stdout);
-
+
/* Check if we have already seen this elink */
if(elink_trav_visited(iter->elink_list, filename, path)) {
HDfputs("{Already Visited}\n", stdout);
@@ -2028,7 +2028,7 @@ visit_obj(hid_t file, const char *oname, iter_t *iter)
} /* end if */
/* Delay specifying the name start point so the original object name is
- * displayed if it is a link or non-group object */
+ * displayed if it is a link or non-group object */
iter->name_start = iter->base_len;
/* Specified name is a group. List the complete contents of the group. */
@@ -2420,7 +2420,7 @@ main(int argc, const char *argv[])
}
*x = '\0';
/* Delay specifying the name start point so the original object name
- * is displayed if it is a link or non-group object */
+ * is displayed if it is a link or non-group object */
iter.name_start = 1;
}
if(!oname || !*oname) {