diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 2000-05-25 15:53:22 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 2000-05-25 15:53:22 (GMT) |
commit | 7e2890384e1c951211aa17cb19aec10c318ac735 (patch) | |
tree | 137a8eb1c02795ef9a730e791ddfc92ff184d95a | |
parent | 70354f23ba689ef7f88ea2b4767b163026dea771 (diff) | |
download | hdf5-7e2890384e1c951211aa17cb19aec10c318ac735.zip hdf5-7e2890384e1c951211aa17cb19aec10c318ac735.tar.gz hdf5-7e2890384e1c951211aa17cb19aec10c318ac735.tar.bz2 |
[svn-r2289] changed the macro for the file to be FILENAME. caused compilation errors on windows with the
old name
-rw-r--r-- | test/tvltypes.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/tvltypes.c b/test/tvltypes.c index dbedf2f..ca13a91 100644 --- a/test/tvltypes.c +++ b/test/tvltypes.c @@ -28,7 +28,7 @@ static char RcsId[] = "$Revision$"; #include <hdf5.h> -#define FILE "tvltypes.h5" +#define FILENAME "tvltypes.h5" /* 1-D dataset with fixed dimensions */ #define SPACE1_NAME "Space1" @@ -133,7 +133,7 @@ test_vltypes_vlen_atomic(void) } /* end for */ /* Create file */ - fid1 = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); + fid1 = H5Fcreate(FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); CHECK(fid1, FAIL, "H5Fcreate"); /* Create dataspace for datasets */ @@ -263,7 +263,7 @@ test_vltypes_vlen_compound(void) } /* end for */ /* Create file */ - fid1 = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); + fid1 = H5Fcreate(FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); CHECK(fid1, FAIL, "H5Fcreate"); /* Create dataspace for datasets */ @@ -413,7 +413,7 @@ test_vltypes_compound_vlen_atomic(void) } /* end for */ /* Create file */ - fid1 = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); + fid1 = H5Fcreate(FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); CHECK(fid1, FAIL, "H5Fcreate"); /* Create dataspace for datasets */ @@ -568,7 +568,7 @@ test_vltypes_vlen_vlen_atomic(void) } /* end for */ /* Create file */ - fid1 = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); + fid1 = H5Fcreate(FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); CHECK(fid1, FAIL, "H5Fcreate"); /* Create dataspace for datasets */ @@ -612,7 +612,7 @@ test_vltypes_vlen_vlen_atomic(void) CHECK(ret, FAIL, "H5Fclose"); /* Create file */ - fid1 = H5Fopen(FILE, H5F_ACC_RDONLY, H5P_DEFAULT); + fid1 = H5Fopen(FILENAME, H5F_ACC_RDONLY, H5P_DEFAULT); CHECK(fid1, FAIL, "H5Fopen"); /* Create dataspace for datasets */ @@ -751,6 +751,6 @@ test_vltypes(void) void cleanup_vltypes(void) { - remove(FILE); + remove(FILENAME); } |