git-svn-id: svn://db.shs.com.ru/pip@143 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user