summaryrefslogtreecommitdiff
path: root/tools/inc/bootstrp
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-01-27 16:23:59 +0100
committersb <sb@openoffice.org>2010-01-27 16:23:59 +0100
commitc5bed97b38a8e4d527f0ad9091a409ab7babd03d (patch)
treefd035897792218409e458e67d59d377d58781989 /tools/inc/bootstrp
parentc10b53fa4c2346f5e12b5d5917d9e1c81226f5f1 (diff)
sb118: changed tools/debug to never fall back from writing to shell to writing to file, and read DBGSV_INIT from rtl::Bootstrap; the latter causes problems if tools/debug is called from static code executing before SAL_MAIN has called osl_setCommandArgs -> removed statics from code and added assertions to osl/process; various improvements to smoketests.cxx (incl. passing an appropriate dbgsv.ini for non-pro builds)
Diffstat (limited to 'tools/inc/bootstrp')
-rw-r--r--tools/inc/bootstrp/command.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/inc/bootstrp/command.hxx b/tools/inc/bootstrp/command.hxx
index 3b481371908b..30b60ae2c069 100644
--- a/tools/inc/bootstrp/command.hxx
+++ b/tools/inc/bootstrp/command.hxx
@@ -95,8 +95,6 @@ public:
void Print();
};
-static ByteString thePath( "PATH" );
-
/** Declares and spawns a child process.
The spawned programm could be a native executable or a schell script.
*/
@@ -130,7 +128,7 @@ public:
@param sItem specifies the system shell
@return the Location (when programm was found)
*/
- static ByteString Search( ByteString sEnv = thePath,
+ static ByteString Search( ByteString sEnv,
ByteString sItem = COMMAND_SHELL );
/** Spawns the Process