summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-08-07 13:09:35 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-08-07 13:09:35 (GMT)
commitc3bdc280620f4452207253904368c113029e5da8 (patch)
tree7577393b1b25ddc351115a3ed1a569578bf3d223 /tools
parent35fcfd37d4ff7609dfde24452487038296f12cdc (diff)
downloadhdf5-c3bdc280620f4452207253904368c113029e5da8.zip
hdf5-c3bdc280620f4452207253904368c113029e5da8.tar.gz
hdf5-c3bdc280620f4452207253904368c113029e5da8.tar.bz2
[svn-r15445] added some comments
tested: windows, linux
Diffstat (limited to 'tools')
-rw-r--r--tools/h5diff/h5diff_main.c6
-rw-r--r--tools/lib/h5diff.c10
2 files changed, 15 insertions, 1 deletions
diff --git a/tools/h5diff/h5diff_main.c b/tools/h5diff/h5diff_main.c
index 17fe275..6d1a508 100644
--- a/tools/h5diff/h5diff_main.c
+++ b/tools/h5diff/h5diff_main.c
@@ -62,6 +62,12 @@
* November 19, 2007
* adopted the syntax h5diff [OPTIONS] file1 file2 [obj1[obj2]]
*
+ * Aug 2008
+ * Added a "contents" mode check.
+ * If this mode is present, objects in both files must match (must be exactly the same)
+ * If this does not happen, the tool returns an error code of 1
+ * (instead of the success code of 0)
+ *
*-------------------------------------------------------------------------
*/
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index 503affe..25e5f83 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -347,9 +347,17 @@ out:
*
* Date: May 9, 2003
*
- * Modifications: Jan 2005 Leon Arber, larber@uiuc.edu
+ * Modifications:
+ *
+ * Jan 2005 Leon Arber, larber@uiuc.edu
* Added support for parallel diffing
*
+ * Aug 2008 Pedro Vicente, pvn@hdfgroup.org
+ * Added a "contents" mode check.
+ * If this mode is present, objects in both files must match (must be exactly the same)
+ * If this does not happen, the tool returns an error code of 1
+ * (instead of the success code of 0)
+ *
*-------------------------------------------------------------------------
*/
hsize_t diff_match(hid_t file1_id,