From 6b1240523c21335cd4275bb6b890d1d30ac95eb7 Mon Sep 17 00:00:00 2001
From: Martin Nilsson <mani@lysator.liu.se>
Date: Wed, 4 Jun 2003 15:03:11 +0200
Subject: [PATCH] Fix xenofarm bust.

Rev: src/encode.c:1.177
---
 src/encode.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/encode.c b/src/encode.c
index f23fb8186d..c24340a857 100644
--- a/src/encode.c
+++ b/src/encode.c
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: encode.c,v 1.176 2003/06/03 18:15:31 mast Exp $
+|| $Id: encode.c,v 1.177 2003/06/04 13:03:11 nilsson Exp $
 */
 
 #include "global.h"
@@ -27,9 +27,9 @@
 #include "bignum.h"
 #include "pikecode.h"
 
-RCSID("$Id: encode.c,v 1.176 2003/06/03 18:15:31 mast Exp $");
+RCSID("$Id: encode.c,v 1.177 2003/06/04 13:03:11 nilsson Exp $");
 
-#define ENCODE_DEBUG
+/* #define ENCODE_DEBUG */
 
 /* Use the old encoding method for programs. */
 /* #define OLD_PIKE_ENCODE_PROGRAM */
@@ -38,6 +38,9 @@ RCSID("$Id: encode.c,v 1.176 2003/06/03 18:15:31 mast Exp $");
 /* Pass a nonzero integer as the third arg to encode_value,
  * encode_value_canonic and decode_value to activate this debug. */
 #define EDB(N,X) do { debug_malloc_touch(data); if (data->debug>=N) {X;} } while (0)
+#ifndef PIKE_DEBUG
+#error ENCODE_DEBUG requires PIKE_DEBUG
+#endif
 #else
 #define EDB(N,X) do { debug_malloc_touch(data); } while (0)
 #endif
-- 
GitLab