Kaydet (Commit) a1c0f9c6 authored tarafından Luboš Luňák's avatar Luboš Luňák

make backtrace from OSL_ASSERT disabled by default

http://lists.freedesktop.org/archives/libreoffice/2011-April/010724.html
üst 08d3fdff
......@@ -256,7 +256,9 @@ sal_Bool SAL_CALL osl_assertFailedLine (
OSL_DIAGNOSE_OUTPUTMESSAGE(f, szMessage);
/* output backtrace */
osl_diagnose_backtrace_Impl(f);
char const * envBacktrace = getenv( "SAL_DIAGNOSE_BACKTRACE" );
if( envBacktrace != NULL && *envBacktrace != '\0' );
osl_diagnose_backtrace_Impl(f);
/* release lock and leave */
pthread_mutex_unlock(&g_mutex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment