From b7998b6f663eb13ccdfaa7473dd1e9b9288771cd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 14 Sep 2011 16:49:54 +0200 Subject: No need to bark about G_SLICE on stderr. --- desktop/unx/source/start.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'desktop') diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c index 3ad641c46e5b..e2a3b2aacccb 100755 --- a/desktop/unx/source/start.c +++ b/desktop/unx/source/start.c @@ -818,7 +818,6 @@ exec_javaldx (Args *args) rtl_uString *pApp; rtl_uString **ppArgs; rtl_uString *pTmp, *pTmp2; - rtl_uString *pEnvironment[1] = { NULL }; ppArgs = (rtl_uString **)calloc( args->nArgsEnv + 2, sizeof( rtl_uString* ) ); @@ -849,20 +848,16 @@ exec_javaldx (Args *args) rtl_uString_newConcat( &pApp, pApp, pTmp ); rtl_uString_release( pTmp ); - /* unset to avoid bogus console output */ - rtl_uString_newFromAscii( &pEnvironment[0], "G_SLICE" ); - err = osl_executeProcess_WithRedirectedIO( pApp, ppArgs, nArgs, osl_Process_NORMAL, NULL, // security NULL, // work dir - pEnvironment, 1, + NULL, 0, &javaldx, // process handle NULL, &fileOut, NULL); - rtl_uString_release( pEnvironment[0] ); rtl_uString_release( ppArgs[nArgs-1] ); rtl_uString_release( pApp ); free( ppArgs ); -- cgit