git-svn-id: svn://db.shs.com.ru/libs@846 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2020-03-18 20:24:08 +00:00
parent a65f9beb39
commit dd288a04af

View File

@@ -84,6 +84,7 @@ PIString findLib(const PIString & l) {
void procLdd(PIString file, bool ext_lib = false, int cur_depth = 0) {
++cur_depth;
if (cur_depth > depth) return;
piCout << "scan" << file << "..." << cur_depth;
PISet<PIString> cur_libs;
if (ext_lib) {
if (!all_libs[file]) {
@@ -95,7 +96,6 @@ void procLdd(PIString file, bool ext_lib = false, int cur_depth = 0) {
if (is_ldd) {
PIProcess proc;
proc.setGrabOutput(true);
piCout << "scan" << file << "...";
proc.exec(ldd, file);
proc.waitForFinish(5000);
lines = PIString(proc.readOutput()).split("\n");