summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-01-22 21:47:49 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2020-01-22 21:47:49 (GMT)
commit30fa2606b45e789ba36f3193130cdea2c12b68a6 (patch)
treeddcaaf9b23e4c1d1da5a58ab5e05016900e8e726
parentf3d1b4c6d2c85995e4c6cd8dc9df5ac4d213d8a5 (diff)
parentad8e79beece8ddea71715d3fd2634af12d78ca29 (diff)
downloadhdf5-30fa2606b45e789ba36f3193130cdea2c12b68a6.zip
hdf5-30fa2606b45e789ba36f3193130cdea2c12b68a6.tar.gz
hdf5-30fa2606b45e789ba36f3193130cdea2c12b68a6.tar.bz2
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop
-rw-r--r--test/efc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/efc.c b/test/efc.c
index af37bed..b818fb4 100644
--- a/test/efc.c
+++ b/test/efc.c
@@ -2921,12 +2921,12 @@ main(void)
}
/* Patch filenames */
- h5_fixname(FILENAME[0], fapl_id, filename[0], sizeof(filename[0]));
- h5_fixname(FILENAME[1], fapl_id, filename[1], sizeof(filename[1]));
- h5_fixname(FILENAME[2], fapl_id, filename[2], sizeof(filename[2]));
- h5_fixname(FILENAME[3], fapl_id, filename[3], sizeof(filename[3]));
- h5_fixname(FILENAME[4], fapl_id, filename[4], sizeof(filename[4]));
- h5_fixname(FILENAME[5], fapl_id, filename[5], sizeof(filename[5]));
+ h5_fixname(FILENAME[0], fapl_id, filename[0], PATH_MAX);
+ h5_fixname(FILENAME[1], fapl_id, filename[1], PATH_MAX);
+ h5_fixname(FILENAME[2], fapl_id, filename[2], PATH_MAX);
+ h5_fixname(FILENAME[3], fapl_id, filename[3], PATH_MAX);
+ h5_fixname(FILENAME[4], fapl_id, filename[4], PATH_MAX);
+ h5_fixname(FILENAME[5], fapl_id, filename[5], PATH_MAX);
/* Push API context */
if(H5CX_push() < 0) FAIL_STACK_ERROR