summaryrefslogtreecommitdiffstats
path: root/test/flush2.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-09-16 16:22:16 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-09-16 16:22:16 (GMT)
commitb9be0455961ca1098bc4977bf1138394932b75db (patch)
tree8bf7377bbda85d614e4e5984c5a1a59ac323310e /test/flush2.c
parent37a1f87664a1b2026e1d2a1dd5033eb2e8b1f5fc (diff)
downloadhdf5-b9be0455961ca1098bc4977bf1138394932b75db.zip
hdf5-b9be0455961ca1098bc4977bf1138394932b75db.tar.gz
hdf5-b9be0455961ca1098bc4977bf1138394932b75db.tar.bz2
[svn-r15629] 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