From 2eefe0be2eee4ffd908d9575127d294f07ebbabe Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Tue, 4 Nov 2008 16:11:45 -0500 Subject: [PATCH] [svn-r16030] updated some comments regarding a function change regarding h5diff return value (not done for 1.8) * Pedro Vicente, pvn@hdfgroup.org, Nov 4, 2008 * Compare the graph and make h5diff return 1 for difference if * 1) the number of objects in file1 is not the same as in file2 * 2) the graph does not match, i.e same names (absolute path) * 3) objects with the same name are not of the same type --- tools/lib/h5diff.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c index 60d97b0b9b8..a7d9a05a2f9 100644 --- a/tools/lib/h5diff.c +++ b/tools/lib/h5diff.c @@ -347,17 +347,14 @@ 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) - * + * Pedro Vicente, pvn@hdfgroup.org, Nov 4, 2008 + * Compare the graph and make h5diff return 1 for difference if + * 1) the number of objects in file1 is not the same as in file2 + * 2) the graph does not match, i.e same names (absolute path) + * 3) objects with the same name are not of the same type *------------------------------------------------------------------------- */ hsize_t diff_match(hid_t file1_id,