summaryrefslogtreecommitdiffstats
path: root/test/flushrefresh.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 15:19:31 (GMT)
committerGitHub <noreply@github.com>2023-06-29 15:19:31 (GMT)
commitfd56a593b7928da636b2494b25cd7478fed78c29 (patch)
treeb815098d8bcf67f4290d3ca74132ce793503b94e /test/flushrefresh.c
parent8aef67f0ae3e037df22c5319eb2eac8b95521b19 (diff)
downloadhdf5-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 'test/flushrefresh.c')
-rw-r--r--test/flushrefresh.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/flushrefresh.c b/test/flushrefresh.c
index a2a284c..e044c56 100644
--- a/test/flushrefresh.c
+++ b/test/flushrefresh.c
@@ -70,10 +70,10 @@ static FILE *errorfile;
#define ERRFILE "flushrefresh_ERROR"
#define PROCESS_ERROR \
{ \
- errorfile = HDfopen(ERRFILE, "w+"); \
+ errorfile = fopen(ERRFILE, "w+"); \
fprintf(errorfile, "Error occurred in flushrefresh.\n"); \
- HDfflush(errorfile); \
- HDfclose(errorfile); \
+ fflush(errorfile); \
+ fclose(errorfile); \
TEST_ERROR; \
}
@@ -1385,8 +1385,8 @@ check_for_errors(void)
{
FILE *file;
- if ((file = HDfopen(ERRFILE, "r"))) {
- HDfclose(file);
+ if ((file = fopen(ERRFILE, "r"))) {
+ fclose(file);
HDremove(ERRFILE);
return FAIL;
} /* end if */