summaryrefslogtreecommitdiffstats
path: root/test/extend.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
commit6b45f5172ccb4311e0be9ae15da3758abb6b0e67 (patch)
tree5a7a112fe7a8a98c6fecb45b513789d15962eb3d /test/extend.c
parent6562465a2c2a58cfbc2f47bf60bb538f7a783933 (diff)
downloadhdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.zip
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.gz
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.bz2
[svn-r11245] Purpose:
Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'test/extend.c')
-rw-r--r--test/extend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/extend.c b/test/extend.c
index aaac754..871446a 100644
--- a/test/extend.c
+++ b/test/extend.c
@@ -96,7 +96,7 @@ write_data(const char *msg, hid_t file, const char *name, hid_t cparms, hid_t me
offset[1] = j * NY/2;
if (H5Sselect_hyperslab (file_space, H5S_SELECT_SET, offset,
NULL, half_dims, NULL)<0) TEST_ERROR;
-
+
/* Read */
if (H5Dread (dataset, H5T_NATIVE_INT, half_space, file_space,
H5P_DEFAULT, buf2)<0) TEST_ERROR;
@@ -114,7 +114,7 @@ write_data(const char *msg, hid_t file, const char *name, hid_t cparms, hid_t me
}
}
}
-
+
/* Cleanup */
if (H5Dclose (dataset)<0) TEST_ERROR;
@@ -175,7 +175,7 @@ main (void)
/* Create the file */
h5_fixname(FILENAME[0], fapl, filename, sizeof filename);
if ((file = H5Fcreate (filename, H5F_ACC_TRUNC, H5P_DEFAULT, fapl))<0) TEST_ERROR;
-
+
/* Create the dataset which is originally NX by NY */
if((cparms = H5Pcreate(H5P_DATASET_CREATE))<0) TEST_ERROR;
if (H5Pset_chunk (cparms, 2, chunk_dims)<0) TEST_ERROR;