diff options
author | Jacob Gruber <gruber1@hdfgroup.org> | 2012-08-21 22:29:20 (GMT) |
---|---|---|
committer | Jacob Gruber <gruber1@hdfgroup.org> | 2012-08-21 22:29:20 (GMT) |
commit | 171af55b461eb4724ad00a6f0babf43b81cf5e7f (patch) | |
tree | fd271f755efac6574a6ad842ef482df1445c57a8 /src/H5FDfamily.c | |
parent | 833a180cc9d62bb7dcb57d26bc134d62c98f1a1a (diff) | |
download | hdf5-inactive/null_vfd.zip hdf5-inactive/null_vfd.tar.gz hdf5-inactive/null_vfd.tar.bz2 |
[svn-r22705] Updated the failure behavior of inner driver calls. Expanded the tests of the inner fapl. Other minor updates and fixes.inactive/null_vfd
Diffstat (limited to 'src/H5FDfamily.c')
-rw-r--r-- | src/H5FDfamily.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FDfamily.c b/src/H5FDfamily.c index 9a82fb0..3454402 100644 --- a/src/H5FDfamily.c +++ b/src/H5FDfamily.c @@ -42,7 +42,7 @@ #include "H5Eprivate.h" /* Error handling */ #include "H5Fprivate.h" /* File access */ #include "H5FDprivate.h" /* File drivers */ -#include "H5FDfamily.h" /* Family file driver */ +#include "H5FDfamily.h" /* Family file driver */ #include "H5Iprivate.h" /* IDs */ #include "H5MMprivate.h" /* Memory management */ #include "H5Pprivate.h" /* Property lists */ @@ -625,7 +625,7 @@ H5FD_family_sb_encode(H5FD_t *_file, char *name/*out*/, unsigned char *buf/*out* FUNC_ENTER_NOAPI_NOINIT_NOERR /* Name and version number */ - HDstrncpy(name, "NCSAfami", (size_t)9); + HDstrncpy(name, H5FD_DRIVER_ID_FAMILY, (size_t)9); name[8] = '\0'; /* Store member file size. Use the member file size from the property here. @@ -724,7 +724,7 @@ H5FD_family_sb_verify(H5FD_t UNUSED *_file, const char *sb_driver_id) FUNC_ENTER_NOAPI(FAIL) /* Check if the suerblock was written by a family driver. */ - if(HDstrncmp(sb_driver_id, "NCSAfami", (size_t)8) == 0) { + if(HDstrncmp(sb_driver_id, H5FD_DRIVER_ID_FAMILY, (size_t)8) == 0) { ret_value = TRUE; } |