From b2c8ac133cba4e9265b4f40c4c2d085f8d72f92e Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Sat, 9 Jul 2016 01:43:11 -0500 Subject: [svn-r30163] Changed a h5_fileaccess() call to H5Pcreate() in the core VFD test. Since it only tests the core VFD, there's no need to get a VFD-dependent fapl. Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1 vfd test w/ all VFDs tested by make check-vfd --- test/vfd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/vfd.c b/test/vfd.c index 596d39a..c947589 100644 --- a/test/vfd.c +++ b/test/vfd.c @@ -196,7 +196,8 @@ test_core(void) h5_reset(); /* Get a file access property list and fix up the file name */ - fapl_id = h5_fileaccess(); + if((fapl_id = H5Pcreate(H5P_FILE_ACCESS)) < 0) + FAIL_STACK_ERROR; h5_fixname(FILENAME[1], fapl_id, filename, sizeof(filename)); /************************************************************************ -- cgit v0.12