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 /src/H5.c | |
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 'src/H5.c')
-rw-r--r-- | src/H5.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -693,7 +693,7 @@ H5__debug_mask(const char *s) while (s && *s) { - if (HDisalpha(*s) || '-' == *s || '+' == *s) { + if (isalpha(*s) || '-' == *s || '+' == *s) { /* Enable or Disable debugging? */ if ('-' == *s) { @@ -709,7 +709,7 @@ H5__debug_mask(const char *s) } /* end if */ /* Get the name */ - for (i = 0; HDisalpha(*s); i++, s++) + for (i = 0; isalpha(*s); i++, s++) if (i < sizeof pkg_name) pkg_name[i] = *s; pkg_name[MIN(sizeof(pkg_name) - 1, i)] = '\0'; @@ -741,7 +741,7 @@ H5__debug_mask(const char *s) fprintf(stderr, "HDF5_DEBUG: ignored %s\n", pkg_name); } /* end if-else */ } - else if (HDisdigit(*s)) { + else if (isdigit(*s)) { int fd = (int)strtol(s, &rest, 0); H5_debug_open_stream_t *open_stream; @@ -885,7 +885,7 @@ H5check_version(unsigned majnum, unsigned minnum, unsigned relnum) /* Allow different versions of the header files and library? */ s = HDgetenv("HDF5_DISABLE_VERSION_CHECK"); - if (s && HDisdigit(*s)) + if (s && isdigit(*s)) disable_version_check = (unsigned int)strtol(s, NULL, 0); } |