changeset 8275:aaccb1362347

debug.txi: typo
author Soren Hauberg <hauberg@gmail.com>
date Mon, 27 Oct 2008 14:25:30 -0400
parents 967c15c5e265
children 50e827fb8b9f
files doc/interpreter/debug.txi src/DLD-FUNCTIONS/__glpk__.cc
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/debug.txi	Mon Oct 27 13:47:14 2008 -0400
+++ b/doc/interpreter/debug.txi	Mon Oct 27 14:25:30 2008 -0400
@@ -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
--- a/src/DLD-FUNCTIONS/__glpk__.cc	Mon Oct 27 13:47:14 2008 -0400
+++ b/src/DLD-FUNCTIONS/__glpk__.cc	Mon Oct 27 14:25:30 2008 -0400
@@ -45,6 +45,7 @@
 #include <glpk.h>
 #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: