summaryrefslogtreecommitdiffstats
path: root/test/tvlstr.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-09-27 20:03:44 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-09-27 20:03:44 (GMT)
commit08034972bc4818e8550445aa7f4fd0b315800190 (patch)
tree14ab13613f3c411d0b3248455244f29418ef887b /test/tvlstr.c
parentd20e1274a7bbf8ab1f87f3ebd61cea82ac8caf53 (diff)
parentaa08db839e6aea89487be985704d57a0e424b21b (diff)
downloadhdf5-08034972bc4818e8550445aa7f4fd0b315800190.zip
hdf5-08034972bc4818e8550445aa7f4fd0b315800190.tar.gz
hdf5-08034972bc4818e8550445aa7f4fd0b315800190.tar.bz2
Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experiment
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r--test/tvlstr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c
index b93d646..bf37ad7 100644
--- a/test/tvlstr.c
+++ b/test/tvlstr.c
@@ -108,12 +108,14 @@ void test_vlstr_free_custom(void *_mem, void *info)
static void
test_vlstrings_basic(void)
{
+ /* Information to write */
const char *wdata[SPACE1_DIM1]= {
"Four score and seven years ago our forefathers brought forth on this continent a new nation,",
"conceived in liberty and dedicated to the proposition that all men are created equal.",
"Now we are engaged in a great civil war,",
"testing whether that nation or any nation so conceived and so dedicated can long endure."
- }; /* Information to write */
+ };
+
char *rdata[SPACE1_DIM1]; /* Information read in */
char *wdata2;
hid_t dataspace, dataset2;