summaryrefslogtreecommitdiffstats
path: root/test/tvlstr.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-04-01 03:25:53 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-04-01 03:25:53 (GMT)
commite7e8b02c3a1a01aaf61560079504a6d04eb482d3 (patch)
tree4806e78ccd7bfd48d3c853533257eff24c54065c /test/tvlstr.c
parentb2bfb5ebc0a07a083e2368d7063f49ffb6fc486c (diff)
downloadhdf5-e7e8b02c3a1a01aaf61560079504a6d04eb482d3.zip
hdf5-e7e8b02c3a1a01aaf61560079504a6d04eb482d3.tar.gz
hdf5-e7e8b02c3a1a01aaf61560079504a6d04eb482d3.tar.bz2
[svn-r3745] Purpose:
Code Tweaks Description: "FILE" macro for file names was getting confused with Standard C __FILE__ macro on certain platforms. Solution: Changed "FILE" macro usage to "DATAFILE" Platforms tested: FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r--test/tvlstr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c
index bab4365..6e9afd8 100644
--- a/test/tvlstr.c
+++ b/test/tvlstr.c
@@ -28,7 +28,7 @@
#include <hdf5.h>
-#define FILE "tvlstr.h5"
+#define DATAFILE "tvlstr.h5"
/* 1-D dataset with fixed dimensions */
#define SPACE1_NAME "Space1"
@@ -131,7 +131,7 @@ test_vlstrings_basic(void)
MESSAGE(5, ("Testing Basic VL String Functionality\n"));
/* Create file */
- fid1 = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
+ fid1 = H5Fcreate(DATAFILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
CHECK(fid1, FAIL, "H5Fcreate");
/* Create dataspace for datasets */
@@ -254,6 +254,6 @@ test_vlstrings(void)
void
cleanup_vlstrings(void)
{
- remove(FILE);
+ remove(DATAFILE);
}