On Feb 14, 2005, at 12:31 PM, Angus Leeming wrote:
I have a nasty feeling that this, or something like it, will fix the
problem (still in src/support/filetools.C)
void setEnvPath(string const & name, vector<string> const & env)
{
char const separator(os::path_separator());
std::ostringstream ss;
vector<string>::const_iterator it = env.begin();
vector<string>::const_iterator const end = env.end();
for (; it != end; ++it) {
if (ss.tellp() > 0)
ss << separator;
ss << os::external_path(*it);
}
- PutEnv(name + "=" + ss.str());
+ PutEnv(name + "=" + string(STRCONV(ss.str())));
}
Nope. Same problem.
Bennett