summaryrefslogtreecommitdiffstats
path: root/test/flush2.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-09-16 15:52:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-09-16 15:52:51 (GMT)
commitbdd7d59902483885dd8b883f3b2393e77383e5e8 (patch)
treeaaf20ab132d057b95b3c016d50fc22b77719084b /test/flush2.c
parent8bc0d5ed9019a681e1ea20c24264415d01c1cf2a (diff)
downloadhdf5-bdd7d59902483885dd8b883f3b2393e77383e5e8.zip
hdf5-bdd7d59902483885dd8b883f3b2393e77383e5e8.tar.gz
hdf5-bdd7d59902483885dd8b883f3b2393e77383e5e8.tar.bz2
[svn-r15628] Description:
Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
Diffstat (limited to 'test/flush2.c')
-rw-r--r--test/flush2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/flush2.c b/test/flush2.c
index 5ec5300..0304406 100644
--- a/test/flush2.c
+++ b/test/flush2.c
@@ -50,7 +50,7 @@ static double the_data[100][100];
*/
static int
check_dset(hid_t file, const char* name)
-{
+{
hid_t space, dset;
hsize_t ds_size[2] = {100, 100};
double error;
@@ -122,7 +122,7 @@ check_file(char* filename, hid_t fapl, int flag)
if(H5Gclose(grp) < 0) goto error;
} /* end for */
- /* Check to see if that last added dataset in the third file is accessible
+ /* Check to see if that last added dataset in the third file is accessible
* (it shouldn't be...but it might. Flag an error in case it is for now */
if(flag && check_dset(file, "dset2")) goto error;
@@ -180,8 +180,8 @@ main(void)
}
else
PASSED();
-
-
+
+
/* Check the case where the file was not flushed. This should give an error
* so we turn off the error stack temporarily */
TESTING("H5Fflush (part2 without flush)");
@@ -229,7 +229,7 @@ main(void)
}
H5Eset_auto2(H5E_DEFAULT, func, NULL);
-
+
h5_cleanup(FILENAME, fapl);
}
else