From 8aceac72c01e5233cca21f505355e2acd8cfa4c9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 4 Jun 2010 16:58:54 +0200 Subject: Disable HDF5 stack traces --- src/hdf5-file.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3