summaryrefslogtreecommitdiffstats
path: root/src/H5B.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-01-12 23:30:45 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-01-12 23:30:45 (GMT)
commitef62ea58554c9d1fcb846c06c60077daad3d77bc (patch)
treec0d84fd6b00d141244bce2a610526df43a5b0f3e /src/H5B.c
parent29fbb330b0735b36fcb02e44c51df024690f936c (diff)
downloadhdf5-ef62ea58554c9d1fcb846c06c60077daad3d77bc.zip
hdf5-ef62ea58554c9d1fcb846c06c60077daad3d77bc.tar.gz
hdf5-ef62ea58554c9d1fcb846c06c60077daad3d77bc.tar.bz2
[svn-r3288] Purpose:
Bug fix (sort of) (H5FDgass.c: just deleted an old code. Nothing to do with this fix.) Description: When --enable-debug=all was used, couple routine printf warnings to stderr that it is an expensive operation. This messed up the testing of h5ls since it included stderr output in its expected output and did not expect the extra messages. Solution: Changed it such that the extra messages are printed only if the appropriate h5-debug-class setting is on (via environment variables, for example). Platforms tested: eirene (debug=all), modi4(parallel,-64,default configure).
Diffstat (limited to 'src/H5B.c')
-rw-r--r--src/H5B.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/H5B.c b/src/H5B.c
index fb6f6f6..1bc3f94 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -2246,8 +2246,6 @@ H5B_assert(H5F_t *f, haddr_t addr, const H5B_class_t *type, void *udata)
if (0==ncalls++) {
if (H5DEBUG(B)) {
fprintf(H5DEBUG(B), "H5B: debugging B-trees (expensive)\n");
- } else {
- fprintf(stderr, "H5B: debugging B-trees (expensive)\n");
}
}
/* Initialize the queue */