From aab14cb9fbc7d82b804a89e4cc61fb874c8636c8 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 11 Jan 2012 19:21:33 +0100 Subject: fix prefix of command line switches (-- instead of -) --- sal/osl/unx/signal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sal/osl/unx') diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c index 6a6dd1d469e8..71bd5fd66d4a 100644 --- a/sal/osl/unx/signal.c +++ b/sal/osl/unx/signal.c @@ -512,12 +512,12 @@ static int ReportCrash( int Signal ) { if ( osl_Process_E_None == osl_getCommandArg( argi, &ustrCommandArg ) ) { - if ( 0 == rtl_ustr_ascii_compare( rtl_uString_getStr( ustrCommandArg ), "-nocrashreport" ) ) + if ( 0 == rtl_ustr_ascii_compare( rtl_uString_getStr( ustrCommandArg ), "--nocrashreport" ) ) { rtl_uString_release( ustrCommandArg ); return -1; } - else if ( 0 == rtl_ustr_ascii_compare( rtl_uString_getStr( ustrCommandArg ), "-autocrashreport" ) ) + else if ( 0 == rtl_ustr_ascii_compare( rtl_uString_getStr( ustrCommandArg ), "--autocrashreport" ) ) { bAutoCrashReport = sal_True; } -- cgit v1.2.3