summaryrefslogtreecommitdiffstats
path: root/test/big.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-07-18 00:00:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-07-18 00:00:22 (GMT)
commitdef04e356437bd592bc194e99fe39a987caff85d (patch)
treee2b4f936d6988aa3682ec5e19ddace097dad3e52 /test/big.c
parent9b50a916c5b0f71cee33cdd040e074bd6f0d3c83 (diff)
downloadhdf5-def04e356437bd592bc194e99fe39a987caff85d.zip
hdf5-def04e356437bd592bc194e99fe39a987caff85d.tar.gz
hdf5-def04e356437bd592bc194e99fe39a987caff85d.tar.bz2
[svn-r1507] Uncommented VL datatypes in compound datatypes test, since it's working now.
Some other memory leaks in the tests fixed.
Diffstat (limited to 'test/big.c')
-rw-r--r--test/big.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/big.c b/test/big.c
index d414e7d..790cdee 100644
--- a/test/big.c
+++ b/test/big.c
@@ -79,6 +79,7 @@ is_sparse(void)
if ((fd=open("x.h5", O_RDWR|O_TRUNC|O_CREAT, 0666))<0) return 0;
if (lseek(fd, 1024*1024, SEEK_SET)!=1024*1024) return 0;
if (5!=write(fd, "hello", 5)) return 0;
+ if (close(fd)<0) return 0;
if (stat("x.h5", &sb)<0) return 0;
if (unlink("x.h5")<0) return 0;
#ifdef HAVE_STAT_ST_BLOCKS