diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-29 15:19:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 15:19:31 (GMT) |
commit | fd56a593b7928da636b2494b25cd7478fed78c29 (patch) | |
tree | b815098d8bcf67f4290d3ca74132ce793503b94e /utils/mirror_vfd/mirror_remote.c | |
parent | 8aef67f0ae3e037df22c5319eb2eac8b95521b19 (diff) | |
download | hdf5-fd56a593b7928da636b2494b25cd7478fed78c29.zip hdf5-fd56a593b7928da636b2494b25cd7478fed78c29.tar.gz hdf5-fd56a593b7928da636b2494b25cd7478fed78c29.tar.bz2 |
Remove HD from C std lib file ops (#3206)
* HDfclose
* HDferror
* HDfeof
* HDfflush
* HDfopen
* HDfread
* HDfwrite
Diffstat (limited to 'utils/mirror_vfd/mirror_remote.c')
-rw-r--r-- | utils/mirror_vfd/mirror_remote.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/mirror_vfd/mirror_remote.c b/utils/mirror_vfd/mirror_remote.c index aaa7515..4f87c17 100644 --- a/utils/mirror_vfd/mirror_remote.c +++ b/utils/mirror_vfd/mirror_remote.c @@ -65,7 +65,7 @@ mirror_log(struct mirror_log_info *info, unsigned int level, const char *format, } fprintf(stream, "\n"); - HDfflush(stream); + fflush(stream); } /* end if sufficiently verbose to print */ } /* end mirror_log() */ @@ -163,7 +163,7 @@ mirror_log_init(char *path, const char *prefix, unsigned int verbosity) if (path && *path) { FILE *f = NULL; - f = HDfopen(path, "w"); + f = fopen(path, "w"); if (NULL == f) { fprintf(MIRROR_LOG_DEFAULT_STREAM, "WARN custom logging path could not be opened: %s\n", path); @@ -196,7 +196,7 @@ mirror_log_term(loginfo_t *info) return FAIL; } if (info->stream != stderr || info->stream != stdout) { - if (HDfclose(info->stream) < 0) { + if (fclose(info->stream) < 0) { return FAIL; } } |