From: Oliver Kurth Date: Fri, 6 Jul 2018 22:02:36 +0000 (-0700) Subject: Back out previous change to add SnowMotion-specific SuperFGets logging. X-Git-Tag: stable-11.0.0~534 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28dec2775af9c12e4e05b8662acc3a225595aaf3;p=thirdparty%2Fopen-vm-tools.git Back out previous change to add SnowMotion-specific SuperFGets logging. --- diff --git a/open-vm-tools/lib/include/vmstdio.h b/open-vm-tools/lib/include/vmstdio.h index 84131e87b..944ddebb7 100644 --- a/open-vm-tools/lib/include/vmstdio.h +++ b/open-vm-tools/lib/include/vmstdio.h @@ -37,8 +37,6 @@ typedef enum { StdIO_Success, } StdIO_Status; -void -StdIO_ToggleSnowMotionLogging(Bool setting); StdIO_Status StdIO_ReadNextLine(FILE *stream, // IN diff --git a/open-vm-tools/lib/misc/vmstdio.c b/open-vm-tools/lib/misc/vmstdio.c index 86af54771..5a04d7397 100644 --- a/open-vm-tools/lib/misc/vmstdio.c +++ b/open-vm-tools/lib/misc/vmstdio.c @@ -30,36 +30,6 @@ #include "vmware.h" #include "dynbuf.h" #include "vmstdio.h" -#include "posixInt.h" - - -static Bool SnowMotionLogging; - -/* - *----------------------------------------------------------------------------- - * - * StdIO_ToggleSnowMotionLogging -- - * - * SnowMotion-specific log toggling - as per PR#2121674 and 2108730, vmx - * corruption appears to occur at some arbitrary point prior to VM powerOn, - * but only in CAT - it has not been reproducible locally or via manually - * triggered Nimbus testruns. - * - * To try to isolate the corruption point, add a toggled logging mechanism - * that will dump the results of SuperFGets for the interval between - * main initializing and VM powerOn. - * - * This is a strictly temporary mechanism to provide the necessary logging - * to debug this issue. - * - *----------------------------------------------------------------------------- - */ - -void -StdIO_ToggleSnowMotionLogging(Bool setting) // IN: -{ - SnowMotionLogging = setting; -} /* @@ -165,10 +135,6 @@ SuperFgets(FILE *stream, // IN: *count = size; - if (SnowMotionLogging) { - Log("%s: Parsed line %s", __FUNCTION__, buf); - } - return buf; }