summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-05-29 00:16:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-05-29 00:16:59 (GMT)
commitcf0c06c96228f2b04305bb05d582f42741e81268 (patch)
treed66c4511d795b73e96ca303c40bb35dac33faadf /src/H5C.c
parent530208b86c520b663efcc05835baa273b1991ccb (diff)
downloadhdf5-cf0c06c96228f2b04305bb05d582f42741e81268.zip
hdf5-cf0c06c96228f2b04305bb05d582f42741e81268.tar.gz
hdf5-cf0c06c96228f2b04305bb05d582f42741e81268.tar.bz2
[svn-r23719] Description:
Bring r23713 and r23717 from trunk to 1.8 branch: Clean up warnings, switch library code to use Standard C/POSIX wrapper macros, remove internal calls to API routines, update checkapi and checkposix scripts. Tested on: Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN Big-Endian Linux/64 (ostrich)
Diffstat (limited to 'src/H5C.c')
-rw-r--r--src/H5C.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5C.c b/src/H5C.c
index e4a3e77..8125202 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -455,10 +455,10 @@ H5C_apply_candidate_list(H5F_t * f,
sprintf(&(tbl_buf[0]), "candidate list = ");
for ( i = 0; i < num_candidates; i++ )
{
- sprintf(&(tbl_buf[strlen(tbl_buf)]), " 0x%llx",
+ sprintf(&(tbl_buf[HDstrlen(tbl_buf)]), " 0x%llx",
(long long)(*(candidates_list_ptr + i)));
}
- sprintf(&(tbl_buf[strlen(tbl_buf)]), "\n");
+ sprintf(&(tbl_buf[HDstrlen(tbl_buf)]), "\n");
HDfprintf(stdout, "%s", tbl_buf);
#endif /* H5C_APPLY_CANDIDATE_LIST__DEBUG */
@@ -515,8 +515,8 @@ H5C_apply_candidate_list(H5F_t * f,
tbl_buf[i] = '\0';
sprintf(&(tbl_buf[0]), "candidate assignment table = ");
for(i = 0; i <= mpi_size; i++)
- sprintf(&(tbl_buf[strlen(tbl_buf)]), " %d", candidate_assignment_table[i]);
- sprintf(&(tbl_buf[strlen(tbl_buf)]), "\n");
+ sprintf(&(tbl_buf[HDstrlen(tbl_buf)]), " %d", candidate_assignment_table[i]);
+ sprintf(&(tbl_buf[HDstrlen(tbl_buf)]), "\n");
HDfprintf(stdout, "%s", tbl_buf);
HDfprintf(stdout, "%s:%d: flush entries [%d, %d].\n",
@@ -714,7 +714,7 @@ H5C_apply_candidate_list(H5F_t * f,
entries_cleared, entries_flushed);
HDfprintf(stdout, "%s:%d: done.\n", FUNC, mpi_rank);
- fsync(stdout);
+ HDfsync(stdout);
#endif /* H5C_APPLY_CANDIDATE_LIST__DEBUG */
if((entries_flushed != entries_to_flush) || (entries_cleared != entries_to_clear))