-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change type of offset
arg in H5Pset_external
to HDoff_t
#3505
Change type of offset
arg in H5Pset_external
to HDoff_t
#3505
Conversation
f2693dc
to
2d6c308
Compare
The `off_t` type is only 32-bit on Windows, which makes it impossible to link to higher offsets in large files. The `H5O_efl_entry_t` struct defines its `offset` field already as `HDoff_t`, so no additional conversion is needed.
2d6c308
to
8e4e9e5
Compare
I think we might need to version the function in order to change the API like this. |
Give us a little more time with this. We're thinking about ditching off_t entirely and moving to an unsigned integer. |
Sure, sounds good! |
Update: I'm starting to go through the library to make sure HDoff_t is used throughout. I think there's a few other internal changes we should also make. We have a lot of projects in motion right now, but I'll try to get the underlying work done in October so we can make this change. |
Update: The internal changes should be complete now. We're discussing how versioning is going to work for this. |
* Move HDoff_t to H5public.h * Use typedefs instead of #define * Remove duplicated definitions of HDoff_t * Clean up h5_stat* definitions * Add Doxygen for HDoff_t
This can probably go in at this point, but we still use |
FWIW, this API call will NOT be versioned. If we didn't version API calls that use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For going into develop this looks good. We'll likely want to think about how to make it so we don't accidentally sync this change back to the 1.14 branch.
…up#3505) The `off_t` type is only 32-bit on Windows, which makes it impossible to link to higher offsets in large files. The `H5O_efl_entry_t` struct defines its `offset` field already as `HDoff_t`, so no additional conversion is needed.
Describe your changes
The
off_t
type is only 32-bit on Windows, which makes it impossible to link to higher offsets in large files.The
H5O_efl_entry_t
struct defines itsoffset
field already asHDoff_t
, so no additional conversion is needed.,Issue ticket number (GitHub or JIRA)
#3506
Checklist before requesting a review