# HG changeset patch # User Soren Hauberg # Date 1225131930 14400 # Node ID aaccb13623472bdb2d467a692b1eced209d1b4b2 # Parent 967c15c5e26558980c0703d6d12937368c0b5c6d debug.txi: typo diff --git a/doc/interpreter/debug.txi b/doc/interpreter/debug.txi --- a/doc/interpreter/debug.txi +++ b/doc/interpreter/debug.txi @@ -60,7 +60,7 @@ To leave the debug mode, you should simply type either @code{dbcont} or @code{return}. -@DOCSTRING(dbcont} +@DOCSTRING(dbcont) To quit debug mode and return directly to the prompt @code{dbquit} should be used instead diff --git a/src/DLD-FUNCTIONS/__glpk__.cc b/src/DLD-FUNCTIONS/__glpk__.cc --- a/src/DLD-FUNCTIONS/__glpk__.cc +++ b/src/DLD-FUNCTIONS/__glpk__.cc @@ -45,6 +45,7 @@ #include #endif +#if 0 #ifdef GLPK_PRE_4_14 #ifndef _GLPLIB_H @@ -63,6 +64,7 @@ void _glp_lib_fault_hook (int (*func)(void *info, char *buf), void *info); #endif +#endif } #define NIntP 17 @@ -137,6 +139,7 @@ static jmp_buf mark; //-- Address for long jump to jump to +#if 0 int glpk_fault_hook (void * /* info */, char *msg) { @@ -150,6 +153,7 @@ message (0, "%s", msg); return 1; } +#endif int glpk (int sense, int n, int m, double *c, int nz, int *rn, int *cn, @@ -164,6 +168,7 @@ clock_t t_start = clock(); +#if 0 #ifdef GLPK_PRE_4_14 lib_set_fault_hook (0, glpk_fault_hook); #else @@ -176,6 +181,7 @@ #else _glp_lib_print_hook (glpk_print_hook, 0); #endif +#endif LPX *lp = lpx_create_prob (); @@ -314,12 +320,15 @@ break; default: + break; +#if 0 #ifdef GLPK_PRE_4_14 insist (method != method); #else static char tmp[] = "method != method"; glpk_fault_hook (0, tmp); #endif +#endif } /* errnum assumes the following results: