diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 13:41:23 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 13:41:23 +0000 |
commit | bb6b42669253d0b1ad2d92a4c25fd929b82a6726 (patch) | |
tree | 4ce2085517edeaa65f94e070993418258ef02f95 /sal | |
parent | ee2ac0b9c8ae72870da203d3209ccc55402c03e4 (diff) |
INTEGRATION: CWS recovery04 (1.22.24); FILE MERGED
2004/11/11 20:01:11 hro 1.22.24.2: RESYNC: (1.22-1.23); FILE MERGED
2004/09/03 04:50:04 hro 1.22.24.1: #i28480# Sending only mode for crash reporter
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/signal.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c index 6593797521cb..5354093ccb53 100644 --- a/sal/osl/unx/signal.c +++ b/sal/osl/unx/signal.c @@ -2,9 +2,9 @@ * * $RCSfile: signal.c,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: rt $ $Date: 2004-10-28 16:25:50 $ + * last change: $Author: rt $ $Date: 2004-11-26 14:41:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -411,7 +411,7 @@ static int fputs_xml( const char *string, FILE *stream ) static int ReportCrash( int Signal ) { static sal_Bool bCrashReporterExecuted = sal_False; - sal_Bool bNoUI = sal_False; + sal_Bool bAutoCrashReport = sal_False; sal_uInt32 argi; sal_uInt32 argc; @@ -430,7 +430,7 @@ static int ReportCrash( int Signal ) } else if ( 0 == rtl_ustr_ascii_compare( rtl_uString_getStr( ustrCommandArg ), "-autocrashreport" ) ) { - bNoUI = sal_True; + bAutoCrashReport = sal_True; } else if ( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( rtl_uString_getStr( ustrCommandArg ), rtl_uString_getLength( ustrCommandArg ), @@ -640,7 +640,7 @@ static int ReportCrash( int Signal ) pXMLTempName, pChecksumTempName, pStackTempName, - bNoUI ? " -noui" : "" ); + bAutoCrashReport ? " -noui -send" : " -noui" ); #elif defined ( SOLARIS ) if ( pXMLTempName && pChecksumTempName ) snprintf( szShellCmd, sizeof(szShellCmd)/sizeof(szShellCmd[0]), @@ -649,12 +649,12 @@ static int ReportCrash( int Signal ) Signal, pXMLTempName, pChecksumTempName, - bNoUI ? " -noui" : "" ); + bAutoCrashReport ? " -noui -send" : " -noui" ); #endif #else /* defined INCLUDE BACKTRACE */ snprintf( szShellCmd, sizeof(szShellCmd)/sizeof(szShellCmd[0]), - "crash_report -p %d -s %d%s", getpid(), Signal, bNoUI ? " -noui" : "" ); + "crash_report -p %d -s %d%s", getpid(), Signal, bAutoCrashReport ? " -noui -send" : " -noui" ); #endif /* defined INCLUDE BACKTRACE */ |