summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 19:47:16 (GMT)
committerGitHub <noreply@github.com>2023-06-29 19:47:16 (GMT)
commit7196d1e4c2a59509b6274c41b068ab89d63a3336 (patch)
tree7b55bf6d9dc1fda9b76d57191277a18bf0d56431 /src/H5.c
parent39e6bf48c92dda00057e2e19cdeed93f5a07b3c8 (diff)
downloadhdf5-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5.c b/src/H5.c
index 2abecd2..7949504 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -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);
}