summaryrefslogtreecommitdiffstats
path: root/utils
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 /utils
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 'utils')
-rw-r--r--utils/mirror_vfd/mirror_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mirror_vfd/mirror_server.c b/utils/mirror_vfd/mirror_server.c
index bef743b..03c72a4 100644
--- a/utils/mirror_vfd/mirror_server.c
+++ b/utils/mirror_vfd/mirror_server.c
@@ -432,7 +432,7 @@ error:
static void
wait_for_child(int H5_ATTR_UNUSED sig)
{
- while (HDwaitpid(-1, NULL, WNOHANG) > 0)
+ while (waitpid(-1, NULL, WNOHANG) > 0)
;
} /* end wait_for_child() */
@@ -554,7 +554,7 @@ handle_requests(struct server_run *run)
mirror_log(run->loginfo, V_INFO, "probable OPEN xmit confirmed");
- pid = HDfork();
+ pid = fork();
if (pid < 0) { /* fork error */
mirror_log(run->loginfo, V_ERR, "cannot fork");
goto error;