Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 807892 Details for
Bug 862717
sci-libs/h5part-1.6.6 fails to compile (lto): H5Part.c:2095:11: error: too few arguments to function H5Oget_info_by_name3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
h5part-1.6.6.patch
h5part-1.6.6.patch (text/plain), 1.92 KB, created by
justXi
on 2022-09-17 15:49:03 UTC
(
hide
)
Description:
h5part-1.6.6.patch
Filename:
MIME Type:
Creator:
justXi
Created:
2022-09-17 15:49:03 UTC
Size:
1.92 KB
patch
obsolete
>diff -Naur A/src/H5Part.c B/src/H5Part.c >--- A/src/H5Part.c 2022-09-17 17:40:40.857303863 +0200 >+++ B/src/H5Part.c 2022-09-17 17:37:22.377297366 +0200 >@@ -2091,8 +2091,8 @@ > switch (linfo->type) { > case H5L_TYPE_HARD: { > >- H5O_info_t objinfo; >- if( H5Oget_info_by_name( group_id, member_name, &objinfo, H5P_DEFAULT ) < 0 ) { >+ H5O_info1_t objinfo; >+ if( H5Oget_info_by_name1( group_id, member_name, &objinfo, H5P_DEFAULT ) < 0 ) { > return (herr_t)HANDLE_H5G_GET_OBJINFO_ERR ( member_name ); > } > >@@ -2137,12 +2137,12 @@ > free(targbuf); > > // Open the linked object. >- H5O_info_t objinfo; >+ H5O_info1_t objinfo; > hid_t obj_id = H5Oopen(group_id, member_name, H5P_DEFAULT); > if ( obj_id < 0 ) { > return (herr_t)HANDLE_H5G_OPEN_ERR ( member_name ); > } >- else if ( H5Oget_info ( obj_id, &objinfo ) < 0 ) { >+ else if ( H5Oget_info1 ( obj_id, &objinfo ) < 0 ) { > return (herr_t)HANDLE_H5G_GET_OBJINFO_ERR ( member_name ); > } > else { >@@ -2207,7 +2207,7 @@ > if ( obj_id < 0 ) > return (herr_t)HANDLE_H5G_OPEN_ERR ( member_name ); > >- herr = H5Oget_info ( obj_id, &objinfo ); >+ herr = H5Oget_info1 ( obj_id, &objinfo ); > if ( herr < 0 ) > return (herr_t)HANDLE_H5G_GET_OBJINFO_ERR ( member_name ); > >diff -Naur A/test/testframe.c B/test/testframe.c >--- A/test/testframe.c 2022-09-17 17:40:19.655303169 +0200 >+++ B/test/testframe.c 2022-09-17 17:43:56.812310277 +0200 >@@ -664,10 +664,10 @@ > hid_t *list = malloc(sizeof(hid_t)*nopen); > H5Fget_obj_ids(file->file, H5F_OBJ_ALL, nopen, list); > >- H5O_info_t info; >+ H5O_info1_t info; > int i; > for (i=0; i<nopen; i++) { >- H5Oget_info(list[i], &info); >+ H5Oget_info1(list[i], &info); > switch (info.type) { > case H5O_TYPE_GROUP: > TestErrPrintf("obj%d has type GROUP\n", i);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 862717
:
796459
| 807892