grim/guifications3

Parents b26ba86dd2f3
Children c40d12eb29a6
we should actually be aborting when we hit a critical log message
--- a/gflib/gflib/gf_log.c Sun Nov 15 02:22:37 2009 -0600
+++ b/gflib/gflib/gf_log.c Wed Dec 09 17:48:51 2009 -0600
@@ -20,6 +20,8 @@
#include <gflib/gf_intl.h>
#include <gflib/gf_console_logger.h>
+#include <stdlib.h>
+
/******************************************************************************
* Globals
*****************************************************************************/
@@ -212,6 +214,9 @@
if(level >= gf_logger_get_level(logger))
gf_logger_write(logger, level, category, format, args);
+
+ if(level == GF_LOG_LEVEL_CRITICAL)
+ abort();
}
/**