COPKGManager: use fclose instead pclose

my_popen returns a stream pointed to a file descriptor

NOTE: documentation for some bent functions in helpers.cpp would be nice!
This commit is contained in:
2014-11-23 16:44:30 +01:00
parent a8376a5f8a
commit 6a06d5cdc1

View File

@@ -411,7 +411,7 @@ void COPKGManager::getPkgData(const int pkg_content_id)
}
}
pclose(f);
fclose(f);
}
string COPKGManager::getBlankPkgName(const string& line)