summaryrefslogtreecommitdiffstats
path: root/test/tunicode.c
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-10-24 13:05:13 (GMT)
committerGitHub <noreply@github.com>2020-10-24 13:05:13 (GMT)
commit313a8c8546b3b975fba722b015c8c8269dd240cb (patch)
treeabbc9530d2a1460110e6b41af9de071deb66ead0 /test/tunicode.c
parent2c3cf8240f45508dea02cab08fa67c2a775cab58 (diff)
parent2ae59f1c6199c62d6efeb43f91924e06f1fd6248 (diff)
downloadhdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.zip
hdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.tar.gz
hdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.tar.bz2
Merge pull request #59 from derobins/trivial/HDprefix
HD prefix updates in src/ and test/
Diffstat (limited to 'test/tunicode.c')
-rw-r--r--test/tunicode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tunicode.c b/test/tunicode.c
index 28f819b..2fed891 100644
--- a/test/tunicode.c
+++ b/test/tunicode.c
@@ -532,7 +532,7 @@ test_attrname(hid_t fid, const char *string)
CHECK(attr_id, FAIL, "H5Acreate2");
size = H5Aget_name(attr_id, (size_t)MAX_STRING_LENGTH, read_buf);
CHECK(size, FAIL, "H5Aget_name");
- ret = strcmp(read_buf, string);
+ ret = HDstrcmp(read_buf, string);
VERIFY(ret, 0, "strcmp");
read_buf[0] = '\0';
@@ -541,7 +541,7 @@ test_attrname(hid_t fid, const char *string)
CHECK(ret, FAIL, "H5Awrite");
ret = H5Aread(attr_id, dtype_id, read_buf);
CHECK(ret, FAIL, "H5Aread");
- ret = strcmp(read_buf, string);
+ ret = HDstrcmp(read_buf, string);
VERIFY(ret, 0, "strcmp");
/* Clean up */
@@ -682,7 +682,7 @@ test_enum(hid_t H5_ATTR_UNUSED fid, const char *string)
VERIFY(val, E1_WHITE, "H5Tenum_valueof");
ret = H5Tenum_nameof(type_id, &val, readbuf, (size_t)MAX_STRING_LENGTH);
CHECK(ret, FAIL, "H5Tenum_nameof");
- ret = strcmp(readbuf, string);
+ ret = HDstrcmp(readbuf, string);
VERIFY(ret, 0, "strcmp");
/* Close the datatype */
@@ -709,7 +709,7 @@ test_opaque(hid_t H5_ATTR_UNUSED fid, const char *string)
/* Read the tag back. */
read_buf = H5Tget_tag(type_id);
- ret = strcmp(read_buf, string);
+ ret = HDstrcmp(read_buf, string);
VERIFY(ret, 0, "H5Tget_tag");
H5free_memory(read_buf);