allow spaces in Configrc search paths

This commit is contained in:
David Rose 2001-10-12 19:47:49 +00:00
parent 2985db64a7
commit a4d0d79e43

View File

@ -52,10 +52,10 @@ get_config_path(const string &config_var_name, DSearchPath *&static_ptr) {
if (!all_defs.empty()) {
Config::ConfigTable::Symbol::reverse_iterator si =
all_defs.rbegin();
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()));
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()), "");
++si;
while (si != all_defs.rend()) {
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()));
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()), "");
++si;
}
}