diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2003-08-14 14:26:06 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2003-08-14 14:26:06 +0000 |
commit | 053845e60bc1f6143e7c50aa10069a18405c2161 (patch) | |
tree | a0269d1cf9c82c0551694e4d37e49cebd32881bd /shared/common/port.c | |
parent | c2a6b33ed5c7686421c66fa90fe18e1d7a14b7ec (diff) |
*** empty log message ***
svn path=/trunk/externals/miXed/; revision=845
Diffstat (limited to 'shared/common/port.c')
-rw-r--r-- | shared/common/port.c | 8 |
1 files changed, 7 insertions, 1 deletions
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 } |