[Libreoffice-commits] core.git: sal/osl

Stephan Bergmann sbergman at redhat.com
Tue Dec 20 16:29:22 UTC 2016


 sal/osl/unx/process.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit ffadee038f5887f3ca427740140ddbfb4457e660
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Dec 20 17:26:09 2016 +0100

    Don't malloc between for and exec
    
    ...at least macOS doesn't like that; change from OSL_TRACE (effectively doing
    nothing unless running a debug build with SAL_LOG=+INFO) to SAL_INFO (calling
    std::stringstream -> malloc in debug builds, regardless of SAL_LOG env var) in
    a005fbeddc4e615cfff56a9bd84355f8d42c1c8c "OSL_TRACE->SAL in framework..sal" made
    the mistake obvious.
    
    Change-Id: I43d35524a0861998a1ef58c6f448085a2fb01cd5

diff --git a/sal/osl/unx/process.cxx b/sal/osl/unx/process.cxx
index 21b24d3..e43a1c4 100644
--- a/sal/osl/unx/process.cxx
+++ b/sal/osl/unx/process.cxx
@@ -205,8 +205,6 @@ static void ChildStatusProc(void *pData)
                 }
             }
 
-            SAL_INFO("sal.osl", "ChildStatusProc : starting " << data.m_pszArgs[0]);
-
             /* Connect std IO to pipe ends */
 
             /* Write end of stdInput not used in child process */


More information about the Libreoffice-commits mailing list