summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-16 15:40:58 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-16 15:40:58 (GMT)
commitc85c4c84fa3d6bbfa6682f43e2c6b99c13b43089 (patch)
treed532a53a8cdeac0ff6bb31f1e6bfcc3eb2ee5e47 /tools
parentcd04a8ee08ee12c356bc5889267b028017aafd50 (diff)
downloadhdf5-c85c4c84fa3d6bbfa6682f43e2c6b99c13b43089.zip
hdf5-c85c4c84fa3d6bbfa6682f43e2c6b99c13b43089.tar.gz
hdf5-c85c4c84fa3d6bbfa6682f43e2c6b99c13b43089.tar.bz2
[svn-r15888] When comparing individual objects the file graph is not currently compared, so make h5diff return 0 (no diffrences)
Tested: windows, linux
Diffstat (limited to 'tools')
-rw-r--r--tools/h5diff/h5diff_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5diff/h5diff_main.c b/tools/h5diff/h5diff_main.c
index 058f160..68c4195 100644
--- a/tools/h5diff/h5diff_main.c
+++ b/tools/h5diff/h5diff_main.c
@@ -144,6 +144,9 @@ void parse_command_line(int argc,
/* process the command-line */
memset(options, 0, sizeof (diff_opt_t));
+
+ /* assume equal contents initially */
+ options->contents = 1;
/* parse command line options */
while ((opt = get_option(argc, argv, s_opts, l_opts)) != EOF)