diff options
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5diff.c | 10 | ||||
-rw-r--r-- | tools/lib/h5trav.c | 7 |
2 files changed, 8 insertions, 9 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c index c7f9265..5fa88bd 100644 --- a/tools/lib/h5diff.c +++ b/tools/lib/h5diff.c @@ -1076,12 +1076,12 @@ hsize_t diff (hid_t file1_id, { char *buf1 = NULL; char *buf2 = NULL; - H5L_linkinfo_t li1; - H5L_linkinfo_t li2; + H5L_info_t li1; + H5L_info_t li2; - if (H5Lget_linkinfo (file1_id, path1, &li1, H5P_DEFAULT) < 0) + if(H5Lget_info(file1_id, path1, &li1, H5P_DEFAULT) < 0) goto out; - if (H5Lget_linkinfo (file1_id, path1, &li2, H5P_DEFAULT) < 0) + if(H5Lget_info(file1_id, path1, &li2, H5P_DEFAULT) < 0) goto out; /* Only external links will have a query function registered */ @@ -1128,7 +1128,7 @@ hsize_t diff (hid_t file1_id, else { /* If one or both of these links isn't an external link, we can only - * compare information from H5Lget_linkinfo since we don't have a query + * compare information from H5Lget_info since we don't have a query * function registered for them. */ /* If the link classes or the buffer length are not the diff --git a/tools/lib/h5trav.c b/tools/lib/h5trav.c index 8480f57..dc145ec 100644 --- a/tools/lib/h5trav.c +++ b/tools/lib/h5trav.c @@ -496,7 +496,7 @@ static int traverse( hid_t loc_id, case H5G_UDLINK: { - H5L_linkinfo_t linkbuf; + H5L_info_t linkbuf; /* increment */ inserted_objs++; @@ -506,9 +506,8 @@ static int traverse( hid_t loc_id, /* Get type of link */ H5E_BEGIN_TRY { - - /* get link class info */ - H5Lget_linkinfo( loc_id, path, &linkbuf, H5P_DEFAULT); + /* get link class info */ + H5Lget_info( loc_id, path, &linkbuf, H5P_DEFAULT); } H5E_END_TRY; if(linkbuf.type == H5L_TYPE_EXTERNAL) |