-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
Fix failures in dtypes test on cygwin #5077
Fix failures in dtypes test on cygwin #5077
Conversation
@@ -6436,16 +6436,17 @@ test__Float16(void) | |||
} | |||
|
|||
if (is_little_endian) { | |||
if (path->conv.u.lib_func != H5T__conv_noop) { |
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.
In at least cygwin, H5T__conv_noop
(and some of the other functions used below) has a different address from path->conv.u.lib_func
, so the two can't be compared directly. Instead, compare based on the conversion path name.
@@ -5660,8 +5660,8 @@ H5T__path_find_real(const H5T_t *src, const H5T_t *dst, const char *name, H5T_co | |||
old_npaths = H5T_g.npaths; | |||
|
|||
/* Set a few convenience variables */ | |||
new_api_func = (matched_path && conv->is_app && conv->u.app_func); |
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.
Add an additional check to prevent the no-op path from being considered a new conversion path, which had some odd side effects from replacing the path with a slightly different, new no-op path.
No description provided.