summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-07-07 19:02:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-07-07 19:02:46 (GMT)
commit4e23c807585ed705173f32e374884a46e4a4f2dd (patch)
treedf458773252f84a19720b4d8b3588db955f4b6d1 /test/h5test.c
parent2d5f8835fd9851c65d8e33a9c4bbe5da64d5427e (diff)
downloadhdf5-4e23c807585ed705173f32e374884a46e4a4f2dd.zip
hdf5-4e23c807585ed705173f32e374884a46e4a4f2dd.tar.gz
hdf5-4e23c807585ed705173f32e374884a46e4a4f2dd.tar.bz2
[svn-r7181] Purpose:
Version update Description: Removed 1.4 compatibility code in the library. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/h5test.c b/test/h5test.c
index ccee874..a5cbad8 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -436,11 +436,7 @@ h5_fileaccess(void)
char s[1024];
hid_t fapl = -1;
hsize_t fam_size = 100*1024*1024; /*100 MB*/
-#ifdef H5_WANT_H5_V1_4_COMPAT
- long verbosity = 1;
-#else /* H5_WANT_H5_V1_4_COMPAT */
long log_flags = H5FD_LOG_LOC_IO;
-#endif /* H5_WANT_H5_V1_4_COMPAT */
H5FD_mem_t mt;
/* First use the environment variable, then the constant */
@@ -503,21 +499,12 @@ h5_fileaccess(void)
}
if (H5Pset_fapl_family(fapl, fam_size, H5P_DEFAULT)<0) return -1;
} else if (!HDstrcmp(name, "log")) {
-#ifdef H5_WANT_H5_V1_4_COMPAT
- /* Log file access */
- if ((val = strtok(NULL, " \t\n\r")))
- verbosity = strtol(val, NULL, 0);
-
- if (H5Pset_fapl_log(fapl, NULL, (int)verbosity) < 0)
- return -1;
-#else /* H5_WANT_H5_V1_4_COMPAT */
/* Log file access */
if ((val = HDstrtok(NULL, " \t\n\r")))
log_flags = HDstrtol(val, NULL, 0);
if (H5Pset_fapl_log(fapl, NULL, (unsigned)log_flags, 0) < 0)
return -1;
-#endif /* H5_WANT_H5_V1_4_COMPAT */
} else {
/* Unknown driver */
return -1;