summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-14 16:49:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-09-14 17:33:11 +0200
commitb7998b6f663eb13ccdfaa7473dd1e9b9288771cd (patch)
treec0d508121279ce1cadf9c010446b46c872fcad22 /desktop
parent188696a20a4bd480db79135551a4307e63f745a5 (diff)
No need to bark about G_SLICE on stderr.
Diffstat (limited to 'desktop')
-rwxr-xr-xdesktop/unx/source/start.c7
1 files changed, 1 insertions, 6 deletions
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 );