summaryrefslogtreecommitdiffstats
path: root/test/use_append_mchunks.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 04:35:55 (GMT)
committerGitHub <noreply@github.com>2023-06-28 04:35:55 (GMT)
commit7d1fdb2d277530eec6d1c8ff937634e7028892aa (patch)
treed5b832cbc566c7076b6926ce5e549bfe359fae1b /test/use_append_mchunks.c
parentbadc6098f726d644cbe6e7bcb27f58e5ba6d5d34 (diff)
downloadhdf5-7d1fdb2d277530eec6d1c8ff937634e7028892aa.zip
hdf5-7d1fdb2d277530eec6d1c8ff937634e7028892aa.tar.gz
hdf5-7d1fdb2d277530eec6d1c8ff937634e7028892aa.tar.bz2
Remove HD from fork/exec*/wait* (#3190)
These are not C99 but are hidden behind ifdefs and are highly unlikely to ever have non-POSIX equivalents.
Diffstat (limited to 'test/use_append_mchunks.c')
-rw-r--r--test/use_append_mchunks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/use_append_mchunks.c b/test/use_append_mchunks.c
index 60f63c0..ff9625e 100644
--- a/test/use_append_mchunks.c
+++ b/test/use_append_mchunks.c
@@ -163,7 +163,7 @@ main(int argc, char *argv[])
/* Fork process */
/* ============ */
if (UC_opts.launch == UC_READWRITE) {
- if ((childpid = HDfork()) < 0) {
+ if ((childpid = fork()) < 0) {
HDperror("fork");
Hgoto_error(1);
}
@@ -237,7 +237,7 @@ main(int argc, char *argv[])
/* If readwrite, collect exit code of child process */
/* ================================================ */
if (UC_opts.launch == UC_READWRITE) {
- if ((tmppid = HDwaitpid(childpid, &child_status, child_wait_option)) < 0) {
+ if ((tmppid = waitpid(childpid, &child_status, child_wait_option)) < 0) {
HDperror("waitpid");
Hgoto_error(1);
}