X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FTermlib%2FTerminfo.cc;fp=senf%2FUtils%2FTermlib%2FTerminfo.cc;h=b1eb5c8a1c7ae049dbf21eea50464586b7410273;hb=f08685d9795a3be20ce5c7a337087358ccd77eb5;hp=2b397545e34b02d61224245a1a15aa0ab7a4ace3;hpb=731487d5f44eaa8c07a21de1dfa00cea2150c80e;p=senf.git diff --git a/senf/Utils/Termlib/Terminfo.cc b/senf/Utils/Termlib/Terminfo.cc index 2b39754..b1eb5c8 100644 --- a/senf/Utils/Termlib/Terminfo.cc +++ b/senf/Utils/Termlib/Terminfo.cc @@ -372,18 +372,18 @@ prefix_ std::string senf::term::Terminfo::findTerminfo(std::string const & name) char const * tivar (::getenv("TERMINFO")); if (tivar) { tientry = boost::filesystem::path(tivar) / subdir; - if (boost::filesystem::exists(tientry)) return tientry.native_file_string(); + if (boost::filesystem::exists(tientry)) return tientry.string(); } } tientry = boost::filesystem::path("/etc/terminfo") / subdir; - if (boost::filesystem::exists(tientry)) return tientry.native_file_string(); + if (boost::filesystem::exists(tientry)) return tientry.string(); tientry = boost::filesystem::path("/lib/terminfo") / subdir; - if (boost::filesystem::exists(tientry)) return tientry.native_file_string(); + if (boost::filesystem::exists(tientry)) return tientry.string(); tientry = boost::filesystem::path("/usr/share/terminfo") / subdir; - if (boost::filesystem::exists(tientry)) return tientry.native_file_string(); + if (boost::filesystem::exists(tientry)) return tientry.string(); return ""; }