git-svn-id: svn://db.shs.com.ru/libs@846 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -84,6 +84,7 @@ PIString findLib(const PIString & l) {
|
|||||||
void procLdd(PIString file, bool ext_lib = false, int cur_depth = 0) {
|
void procLdd(PIString file, bool ext_lib = false, int cur_depth = 0) {
|
||||||
++cur_depth;
|
++cur_depth;
|
||||||
if (cur_depth > depth) return;
|
if (cur_depth > depth) return;
|
||||||
|
piCout << "scan" << file << "..." << cur_depth;
|
||||||
PISet<PIString> cur_libs;
|
PISet<PIString> cur_libs;
|
||||||
if (ext_lib) {
|
if (ext_lib) {
|
||||||
if (!all_libs[file]) {
|
if (!all_libs[file]) {
|
||||||
@@ -95,7 +96,6 @@ void procLdd(PIString file, bool ext_lib = false, int cur_depth = 0) {
|
|||||||
if (is_ldd) {
|
if (is_ldd) {
|
||||||
PIProcess proc;
|
PIProcess proc;
|
||||||
proc.setGrabOutput(true);
|
proc.setGrabOutput(true);
|
||||||
piCout << "scan" << file << "...";
|
|
||||||
proc.exec(ldd, file);
|
proc.exec(ldd, file);
|
||||||
proc.waitForFinish(5000);
|
proc.waitForFinish(5000);
|
||||||
lines = PIString(proc.readOutput()).split("\n");
|
lines = PIString(proc.readOutput()).split("\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user