char const *last_file; int last_line;
static void do_log(int level, char const *fmt, ...);
+
+#define mm_log(x) ((last_file = __FILE__), (last_line = __LINE__), do_log x )
+
+#ifdef MEM_DEBUG
+
static
void
bndcheck(int idx);
void
bndcheck_all(void);
-#define mm_log(x) ((last_file = __FILE__), (last_line = __LINE__), do_log x )
-
-#ifdef MEM_DEBUG
-
#define MAXMAL 102400
#define MAXDESC 65
++die;\r
}\r
if (target + count > pq->alloc) {\r
- fprintf(stderr, "target %d + count %d > alloc\n", target, count, pq->alloc);\r
+ fprintf(stderr, "target %d + count %d > alloc %d\n", target, count, pq->alloc);\r
++die;\r
}\r
if (die) *(char *)0 = '\0';\r