diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-04-22 14:49:34 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-04-22 14:49:34 +0000 |
commit | 87397bebf338f16958aca930be7b1d2361dba6df (patch) | |
tree | a506d2314d533eb8309e5254bd542d98fb380491 /sal | |
parent | e6274dc1891b6d25782569fab65dbbe0092bdc37 (diff) |
#i10000# use DISABLE_SAL_DBGBOX for UNIX too
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/diagnose.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sal/osl/unx/diagnose.c b/sal/osl/unx/diagnose.c index 1dce3b084..9060a1e36 100644 --- a/sal/osl/unx/diagnose.c +++ b/sal/osl/unx/diagnose.c @@ -2,9 +2,9 @@ * * $RCSfile: diagnose.c,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: obo $ $Date: 2005-04-21 15:33:09 $ + * last change: $Author: obo $ $Date: 2005-04-22 15:49:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -254,7 +254,8 @@ sal_Bool SAL_CALL osl_assertFailedLine ( pthread_mutex_lock(&g_mutex); /* output message buffer */ - OSL_DIAGNOSE_OUTPUTMESSAGE(f, szMessage); + if ( !getenv("DISABLE_SAL_DBGBOX") || 0 != f ) + OSL_DIAGNOSE_OUTPUTMESSAGE(f, szMessage); /* output backtrace */ osl_diagnose_backtrace_Impl(f); |