diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-28 04:35:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 04:35:55 (GMT) |
commit | 7d1fdb2d277530eec6d1c8ff937634e7028892aa (patch) | |
tree | d5b832cbc566c7076b6926ce5e549bfe359fae1b /test/dt_arith.c | |
parent | badc6098f726d644cbe6e7bcb27f58e5ba6d5d34 (diff) | |
download | hdf5-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/dt_arith.c')
-rw-r--r-- | test/dt_arith.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c index 5a25b64..842aca7 100644 --- a/test/dt_arith.c +++ b/test/dt_arith.c @@ -2824,12 +2824,12 @@ test_conv_flt_1(const char *name, int run_test, hid_t src, hid_t dst) */ HDfflush(stdout); HDfflush(stderr); - if ((child_pid = HDfork()) < 0) { + if ((child_pid = fork()) < 0) { HDperror("fork"); return 1; } else if (child_pid > 0) { - while (child_pid != HDwaitpid(child_pid, &status, 0)) /*void*/ + while (child_pid != waitpid(child_pid, &status, 0)) /*void*/ ; if (WIFEXITED(status) && 255 == WEXITSTATUS(status)) { return 0; /*child exit after catching SIGFPE*/ |