diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-29 19:47:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 19:47:16 (GMT) |
commit | 7196d1e4c2a59509b6274c41b068ab89d63a3336 (patch) | |
tree | 7b55bf6d9dc1fda9b76d57191277a18bf0d56431 /tools/lib | |
parent | 39e6bf48c92dda00057e2e19cdeed93f5a07b3c8 (diff) | |
download | hdf5-7196d1e4c2a59509b6274c41b068ab89d63a3336.zip hdf5-7196d1e4c2a59509b6274c41b068ab89d63a3336.tar.gz hdf5-7196d1e4c2a59509b6274c41b068ab89d63a3336.tar.bz2 |
Remove HD from HDis* (e.g., isalpha) (#3212)
* HDisalnum
* HDisalpha
* HDiscntrl
* HDisdigit
* HDisgraph
* HDislower
* HDisprint
* HDispunct
* HDisspace
* HDisupper
* HDisxdigit
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5tools_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c index baff559..e9b6dfc 100644 --- a/tools/lib/h5tools_utils.c +++ b/tools/lib/h5tools_utils.c @@ -187,7 +187,7 @@ parse_hsize_list(const char *h_list, subset_d *d) H5TOOLS_START_DEBUG(" - h_list:%s", h_list); /* count how many integers do we have */ for (ptr = h_list; ptr && *ptr && *ptr != ';' && *ptr != ']'; ptr++) - if (HDisdigit(*ptr)) { + if (isdigit(*ptr)) { if (!last_digit) /* the last read character wasn't a digit */ size_count++; @@ -209,11 +209,11 @@ parse_hsize_list(const char *h_list, subset_d *d) H5TOOLS_INFO("Unable to allocate space for subset data"); for (ptr = h_list; i < size_count && ptr && *ptr && *ptr != ';' && *ptr != ']'; ptr++) - if (HDisdigit(*ptr)) { + if (isdigit(*ptr)) { /* we should have an integer now */ p_list[i++] = (hsize_t)strtoull(ptr, NULL, 0); - while (HDisdigit(*ptr)) + while (isdigit(*ptr)) /* scroll to end of integer */ ptr++; } |