summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5trav.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-07-02 20:28:49 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-07-02 20:28:49 (GMT)
commitd96ba1186fd104a1023cd2542a51b00c6e2fed73 (patch)
tree55625ed1339f88a82a6240c96862ee0682080fd7 /tools/lib/h5trav.c
parentc49dd7fa363bdb49416b5587654101064fd547f8 (diff)
downloadhdf5-d96ba1186fd104a1023cd2542a51b00c6e2fed73.zip
hdf5-d96ba1186fd104a1023cd2542a51b00c6e2fed73.tar.gz
hdf5-d96ba1186fd104a1023cd2542a51b00c6e2fed73.tar.bz2
[svn-r8792] Purpose:
change features Description: for the file contents dump and for hardlinks, one arrow "->" is printed, followed by the first found name for that object options for not printing specific types of objects were postponed Solution: Platforms tested: linux solaris AIX Misc. update:
Diffstat (limited to 'tools/lib/h5trav.c')
-rw-r--r--tools/lib/h5trav.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5trav.c b/tools/lib/h5trav.c
index 6c143eb..93211c5 100644
--- a/tools/lib/h5trav.c
+++ b/tools/lib/h5trav.c
@@ -402,7 +402,7 @@ int traverse( hid_t loc_id,
{
/* print it */
if (print)
- printf(" %-10s %s %s\n", "group", path, "HARDLINK" );
+ printf(" %-10s %s %s %s\n", "group", path, "->", table->objs[j].name );
}
}
@@ -448,7 +448,7 @@ int traverse( hid_t loc_id,
{
/* print it */
if (print)
- printf(" %-10s %s %s\n", "dataset", path, "(HARDLINK)" );
+ printf(" %-10s %s %s %s\n", "dataset", path, "->", table->objs[j].name );
} /* displayed==1 */
} /* nlink>1 */