diff options
author | Hennes Rohling <hro@openoffice.org> | 2003-06-11 15:44:16 +0000 |
---|---|---|
committer | Hennes Rohling <hro@openoffice.org> | 2003-06-11 15:44:16 +0000 |
commit | e52f8f8fe92eb786ce00b3cd8c333463b2feff21 (patch) | |
tree | 4723374d19e50a064d36046539aa99bcc98a8358 /crashrep | |
parent | 463faf5a8aa24f33d259c04e3aca934206d8f359 (diff) |
#110104# Current working directory has to be set to office dir first
Diffstat (limited to 'crashrep')
-rwxr-xr-x | crashrep/source/unx/main.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx index 1da2979d9ab8..402e84230cf3 100755 --- a/crashrep/source/unx/main.cxx +++ b/crashrep/source/unx/main.cxx @@ -2,9 +2,9 @@ * * $RCSfile: main.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hro $ $Date: 2003-06-10 15:22:38 $ + * last change: $Author: hro $ $Date: 2003-06-11 16:44:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1084,6 +1084,8 @@ int main( int argc, char** argv ) { freopen( "/dev/null", "w", stderr ); + setup_program_dir( argv[0] ); + // Don't start if accessiblity is enabled or report server is not given if ( !get_accessibility_state() && setup_version() ) @@ -1093,8 +1095,6 @@ int main( int argc, char** argv ) StringResource::init( argc, argv ); - setup_program_dir( argv[0] ); - long pid = setup_commandline_arguments( argc, argv, &g_signal ); if ( write_stack( pid ) ) |