git-svn-id: svn://db.shs.com.ru/pip@143 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2015-06-24 15:03:16 +00:00
parent 433b668bf5
commit 4492ff605c
3 changed files with 4 additions and 4 deletions

View File

@@ -715,8 +715,8 @@ PIStringList PISerial::availableDevices(bool test) {
PIVector<PIFile::FileInfo> de = dir.entries();
piForeachC (PIFile::FileInfo & e, de) { // TODO changes in FileInfo
piForeachC (PIString & p, prefixes) {
if (e.path.left(p.size_s()) != p) continue;
dl << "/dev/" + e.path;
if (e.name().left(p.size_s()) != p) continue;
dl << e.path;
}
}
# endif