diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-29 15:18:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 15:18:01 (GMT) |
commit | 9f430d15b004495d17826840ef1a4f281215c7f9 (patch) | |
tree | eddd0bd281a80adb336403582bd236c6a24b0dc6 /tools/src/h5jam/h5jam.c | |
parent | a5f1fb01b9ef867cf94158cdb42ffb1d46bae916 (diff) | |
download | hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.zip hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.gz hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.bz2 |
Rename HDexit() and related to exit(), etc. (#3202)
* HDatexit
* HDexit
* HD_exit
Diffstat (limited to 'tools/src/h5jam/h5jam.c')
-rw-r--r-- | tools/src/h5jam/h5jam.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/src/h5jam/h5jam.c b/tools/src/h5jam/h5jam.c index 91eb937..04b29ea 100644 --- a/tools/src/h5jam/h5jam.c +++ b/tools/src/h5jam/h5jam.c @@ -89,7 +89,7 @@ leave(int ret) { h5tools_close(); - HDexit(ret); + exit(ret); } /*------------------------------------------------------------------------- @@ -395,7 +395,7 @@ copy_some_to_file(int infid, int outfid, hsize_t starting, hsize_t startout, ssi res = HDfstat(infid, &sbuf); if (res < 0) { error_msg("Can't stat file \n"); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } /* end if */ howmuch = (ssize_t)sbuf.st_size; @@ -432,12 +432,12 @@ copy_some_to_file(int infid, int outfid, hsize_t starting, hsize_t startout, ssi if (nchars <= 0) { error_msg("Read error \n"); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } /* end if */ if (HDwrite(outfid, buf, (unsigned)nchars) < 0) { error_msg("Write error \n"); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } tot += nchars; |