NAME
default_bug_handler - Default bug handling routine for set_bug
SYNOPSIS
#include "l/l_sys_err.h"
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-I/home/kobus/include
-L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
void default_bug_handler(const char *message);
DESCRIPTION
This routine is the default bug handling routine for set_bug. Its action
depends on whether the development library (compiled with -DTEST) or the
production library is being used. If the production library is being used,
then a bug log is produced, the user is notified of the existence of the
file, and is asked to send the log-file to the author. The log-file should
contain enough information to reproduce the error, as it contains the
commands the user typed. In the case of the development library, the mesage
is printed, and the user is prompted as to whether or not they want an
abort.
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTER
Kobus Barnard
SEE ALSO
push_error_action
,
pop_error_action
,
set_error_action
,
get_error_action
,
set_bug_handler
,
kjb_print_error
,
kjb_get_error
,
kjb_get_strlen_error
,
kjb_clear_error
,
set_error
,
add_error
,
cat_error
,
insert_error
,
str_set_error
,
str_add_error
,
str_cat_error
,
str_insert_error
,
set_bug