diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-07-27 20:43:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 20:43:30 (GMT) |
commit | 1e91d96fa02466ffe451319bdac1005f84dc7993 (patch) | |
tree | 4de04ef502c313dfd766497b20235188761146c0 /fortran/src/H5Ef.c | |
parent | 95e5349089b95dfb95f0f8ce2d6db1bc04ba6c82 (diff) | |
download | hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.zip hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.gz hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.bz2 |
Brings over most of the HD prefix removal (#3293)
Diffstat (limited to 'fortran/src/H5Ef.c')
-rw-r--r-- | fortran/src/H5Ef.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fortran/src/H5Ef.c b/fortran/src/H5Ef.c index 7948808..16ba70f 100644 --- a/fortran/src/H5Ef.c +++ b/fortran/src/H5Ef.c @@ -84,7 +84,7 @@ h5eprint_c1(_fcd name, int_f *namelen) if (NULL == (c_name = (char *)HD5f2cstring(name, (size_t)*namelen))) HGOTO_DONE(FAIL) - if (NULL == (file = HDfopen(c_name, "a"))) + if (NULL == (file = fopen(c_name, "a"))) HGOTO_DONE(FAIL) /* @@ -97,7 +97,7 @@ done: if (file) HDfclose(file); if (c_name) - HDfree(c_name); + free(c_name); return ret_value; } @@ -164,7 +164,7 @@ h5eget_major_c(int_f *error_no, _fcd name, size_t_f *namelen) int_f ret_value = 0; if (c_namelen > 0) - c_name = (char *)HDmalloc(c_namelen + 1); + c_name = (char *)malloc(c_namelen + 1); if (!c_name) HGOTO_DONE(FAIL) @@ -179,7 +179,7 @@ h5eget_major_c(int_f *error_no, _fcd name, size_t_f *namelen) done: if (c_name) - HDfree(c_name); + free(c_name); return ret_value; } @@ -212,7 +212,7 @@ h5eget_minor_c(int_f *error_no, _fcd name, size_t_f *namelen) int_f ret_value = 0; if (c_namelen > 0) - c_name = (char *)HDmalloc(c_namelen + 1); + c_name = (char *)malloc(c_namelen + 1); if (!c_name) HGOTO_DONE(FAIL) @@ -227,7 +227,7 @@ h5eget_minor_c(int_f *error_no, _fcd name, size_t_f *namelen) done: if (c_name) - HDfree(c_name); + free(c_name); return ret_value; } |