aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-04 16:58:54 +0200
committerThomas White <taw@physics.org>2010-06-04 16:58:54 +0200
commit8aceac72c01e5233cca21f505355e2acd8cfa4c9 (patch)
tree3bd545f94d89c40543eb22b9292c90482362003d /src
parentc802385878a7a1b094336e4517cc9f7071e44135 (diff)
Disable HDF5 stack traces
Diffstat (limited to 'src')
-rw-r--r--src/hdf5-file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hdf5-file.c b/src/hdf5-file.c
index aa341e50..622fc409 100644
--- a/src/hdf5-file.c
+++ b/src/hdf5-file.c
@@ -45,6 +45,9 @@ struct hdfile *hdfile_open(const char *filename)
f = malloc(sizeof(struct hdfile));
if ( f == NULL ) return NULL;
+ /* Please stop spamming my terminal */
+ H5Eset_auto(H5E_DEFAULT, NULL, NULL);
+
f->fh = H5Fopen(filename, H5F_ACC_RDONLY, H5P_DEFAULT);
if ( f->fh < 0 ) {
ERROR("Couldn't open file: %s\n", filename);