From 353b5440474f3bf2c9dd16eee11bd42f11ea5d6d Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Sat, 18 Apr 2020 16:40:42 +0200 Subject: [PATCH] [AUDIOSRV] logmsg(): Disable its file part Mininal workaround for CORE-16814 --- base/services/audiosrv/debug.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/base/services/audiosrv/debug.c b/base/services/audiosrv/debug.c index df821afb51e..c19aada3538 100644 --- a/base/services/audiosrv/debug.c +++ b/base/services/audiosrv/debug.c @@ -4,10 +4,14 @@ #include +// FIXME: Disabled to work around CORE-16814 (and CORE-16912). +// #define ENABLE_LOGMSG_FILE + void logmsg(char* string, ...) { va_list args; +#ifdef ENABLE_LOGMSG_FILE FILE* debug_file = fopen("c:\\audiosrv-debug.txt", "a"); if (debug_file) @@ -18,6 +22,7 @@ void logmsg(char* string, ...) fclose(debug_file); } else +#endif { char buf[256]; va_start(args, string);