summaryrefslogtreecommitdiffstats
path: root/test/extend.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-12 03:40:34 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-12 03:40:34 (GMT)
commitb8632ce735eeae4d65fa27866155a26d19c7e035 (patch)
tree0b7638300e8feabd1257cd001822a4477d529256 /test/extend.c
parentc0f9f41be8d453550694103a69cf902de79b6b84 (diff)
downloadhdf5-b8632ce735eeae4d65fa27866155a26d19c7e035.zip
hdf5-b8632ce735eeae4d65fa27866155a26d19c7e035.tar.gz
hdf5-b8632ce735eeae4d65fa27866155a26d19c7e035.tar.bz2
[svn-r7029] Purpose:
New feature/Bug fix Description: Add new fill time value - H5D_FILL_TIME_IFSET which writes the fill value to a dataset if the user has defined one, otherwise not writing the fill value to the dataset. Platforms tested: FreeBSD 4.8 (sleipnir) serial & parallel h5committest
Diffstat (limited to 'test/extend.c')
-rw-r--r--test/extend.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/extend.c b/test/extend.c
index 23625fd..07c8dba 100644
--- a/test/extend.c
+++ b/test/extend.c
@@ -48,7 +48,7 @@ static int buf1[NY][NX], buf2[NX/2][NY/2];
*
*-------------------------------------------------------------------------
*/
-int
+static int
write_data(const char *msg, hid_t file, const char *name, hid_t cparms, hid_t mem_space)
{
hid_t dataset, file_space, half_space;
@@ -105,7 +105,6 @@ write_data(const char *msg, hid_t file, const char *name, hid_t cparms, hid_t me
for (k=0; k<NX/2; k++) {
for (m=0; m<NY/2; m++) {
if (buf2[k][m]!=buf1[(i%2)*NX/2+k][(j%2)*NY/2+m]) {
- H5_FAILED();
printf(" i=%d, j=%d, k=%d, m=%d\n", i, j, k, m);
printf(" buf2[%d][%d]=%d\n",k,m,buf2[k][m]);
printf(" buf1[%d][%d]=%d\n",(i%2)*NX/2+k,(j%2)*NY/2+m,buf1[(i%2)*NX/2+k][(j%2)*NY/2+m]);