diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-03-04 14:44:48 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-03-04 14:44:48 (GMT) |
commit | 190878d7977ab052cf4eaa5a2819cc8e4c59628c (patch) | |
tree | 8d0f81c19aa38445f5cf287bec3b266e2d170b77 /tools | |
parent | 1fff6f29d5c80f15ccd94950e9150e43a4f80a87 (diff) | |
download | hdf5-190878d7977ab052cf4eaa5a2819cc8e4c59628c.zip hdf5-190878d7977ab052cf4eaa5a2819cc8e4c59628c.tar.gz hdf5-190878d7977ab052cf4eaa5a2819cc8e4c59628c.tar.bz2 |
[svn-r20186] Verify/cleanup code due to debugging changes
Tested: local linux
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5copy/h5copygentest.c | 15 | ||||
-rw-r--r-- | tools/h5diff/h5diff_common.c | 2 | ||||
-rw-r--r-- | tools/h5diff/h5diffgentest.c | 2 |
3 files changed, 10 insertions, 9 deletions
diff --git a/tools/h5copy/h5copygentest.c b/tools/h5copy/h5copygentest.c index 3bf6534..5c00966 100644 --- a/tools/h5copy/h5copygentest.c +++ b/tools/h5copy/h5copygentest.c @@ -228,7 +228,7 @@ static void gent_compressed(hid_t loc_id) /*------------------------------------------------------------------------- * Function: gent_named_vl * - * Purpose: Generate a variable lenght named datatype for a dataset in + * Purpose: Generate a variable lenght named datatype for a dataset in LOC_ID * *------------------------------------------------------------------------- @@ -420,6 +420,7 @@ static herr_t gen_obj_ref(hid_t loc_id) hsize_t dims2[1]={2}; int data[3] = {10,20,30}; int status; + /*--------------------- * create obj references to the previously created objects. * Passing -1 as reference is an object.*/ @@ -642,12 +643,12 @@ out: /*------------------------------------------------------------------------- * Function: Test_Obj_Copy * - * Purpose: Testing with various objects + * Purpose: Testing with various objects * *------------------------------------------------------------------------*/ static void Test_Obj_Copy() { - hid_t fid=0; + hid_t fid=0; /* Create source file */ fid = H5Fcreate(HDF_FILE1, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); @@ -680,14 +681,14 @@ static void Test_Ref_Copy() { hid_t fid=0; herr_t status; - + fid = H5Fcreate (HDF_FILE2, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); if (fid < 0) { fprintf(stderr, "Error: %s> H5Fcreate failed.\n", HDF_FILE2); goto out; } - + /* add object reference */ status = gen_obj_ref(fid); if (status < 0) @@ -847,7 +848,7 @@ static void Test_Extlink_Copy() hid_t fid1=0; hid_t fid2=0; herr_t status; - + fid1 = H5Fcreate (HDF_EXT_SRC_FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); if (fid1 < 0) { @@ -861,7 +862,7 @@ static void Test_Extlink_Copy() fprintf(stderr, "Error: %s> H5Fcreate failed.\n", HDF_EXT_TRG_FILE); goto out; } - + /* add links to source external link file */ status = gen_extlink_src(fid1); if (status < 0) diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c index 84eb49a..4870cdb 100644 --- a/tools/h5diff/h5diff_common.c +++ b/tools/h5diff/h5diff_common.c @@ -104,7 +104,7 @@ void parse_command_line(int argc, options->m_report = 1; break; case 'l': - options->follow_links = 1; + options->follow_links = 1; break; case 'x': options->no_dangle_links = 1; diff --git a/tools/h5diff/h5diffgentest.c b/tools/h5diff/h5diffgentest.c index c3a92cb..97087ab 100644 --- a/tools/h5diff/h5diffgentest.c +++ b/tools/h5diff/h5diffgentest.c @@ -952,7 +952,7 @@ int test_datasets(const char *file, /*------------------------------------------------------------------------- * -* Purpose: Create test files to compare links, one has longer name than +* Purpose: Create test files to compare links, one has longer name than * the other and short name is subset of long name. * * Programmer: Jonathan Kim (Feb 17, 2010) |