improved sun studio support (it seems to lack a lot of stl)

This commit is contained in:
Arvid Norberg
2009-08-30 07:38:52 +00:00
parent f764227012
commit 1f5a722b01
26 changed files with 132 additions and 82 deletions

View File

@@ -349,12 +349,12 @@ namespace libtorrent
}
if (find_string(PID, "-BOW") && PID[7] == '-')
return "Bits on Wheels " + std::string(PID + 4, PID + 7);
return "Bits on Wheels " + std::string((char const*)PID + 4, (char const*)PID + 7);
if (find_string(PID, "eX"))
{
std::string user(PID + 2, PID + 14);
std::string user((char const*)PID + 2, (char const*)PID + 14);
return std::string("eXeem ('") + user.c_str() + "')";
}