From 053845e60bc1f6143e7c50aa10069a18405c2161 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Thu, 14 Aug 2003 14:26:06 +0000 Subject: *** empty log message *** svn path=/trunk/externals/miXed/; revision=845 --- shared/common/port.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'shared/common/port.c') diff --git a/shared/common/port.c b/shared/common/port.c index f1471bf..fb22163 100644 --- a/shared/common/port.c +++ b/shared/common/port.c @@ -22,6 +22,9 @@ #include "common/binport.h" #include "common/port.h" +//#define PORT_DEBUG +#define PORT_LOG + #define PORT_INISTACK 256 /* LATER rethink */ #define PORT_INISIZE 512 /* LATER rethink */ @@ -591,9 +594,12 @@ void import_max(char *fn, char *dir) if (ftype == BINPORT_PDFILE) x->x_newbb = x->x_oldbb; else { +#ifdef PORT_DEBUG + binbuf_write(x->x_oldbb, "import-debug.pd", "", 0); +#endif import_binbuf(x); binbuf_free(x->x_oldbb); -#if 1 +#ifdef PORT_LOG binbuf_write(x->x_newbb, "import-result.pd", "", 0); #endif } -- cgit v1.2.1