diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-06-11 18:51:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-06-11 18:51:20 (GMT) |
commit | d3a0386d36dd7d9fec23edb343ee6e34113be828 (patch) | |
tree | c267bb4aeb69200ece9457eb9de58df1f0c35ef7 /tools/lib/h5tools.c | |
parent | b442ea5e7862ff4a9118a401856344164222f09b (diff) | |
download | hdf5-d3a0386d36dd7d9fec23edb343ee6e34113be828.zip hdf5-d3a0386d36dd7d9fec23edb343ee6e34113be828.tar.gz hdf5-d3a0386d36dd7d9fec23edb343ee6e34113be828.tar.bz2 |
[svn-r13850] Description:
Hook "default VFD" configure macros into library.
Also, make "default VFD" default to sec2 instead of nothing.
Tested on:
FreeBSD/32 6.2 (duty)
FreeBSD/64 6.2 (liberty)
Mac OS X/32 10.4.9 (amazon)
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r-- | tools/lib/h5tools.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index 8f04e76..5334a51 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -178,6 +178,10 @@ h5tools_get_fapl(hid_t fapl, const char *driver, unsigned *drivernum) /* Determine which driver the user wants to open the file with. Try * that driver. If it can't open it, then fail. */ if(!strcmp(driver, drivernames[SEC2_IDX])) { + /* SEC2 driver */ + if(H5Pset_fapl_sec2(new_fapl) < 0) + goto error; + if(drivernum) *drivernum = SEC2_IDX; } else if(!strcmp(driver, drivernames[FAMILY_IDX])) { |