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

This commit is contained in:
2017-05-29 07:54:24 +00:00
parent 444cc9ded3
commit a5e2f2d4f6

View File

@@ -113,7 +113,7 @@ PIString PIDir::absolutePath() const {
PIDir & PIDir::cleanPath() {
PIString p(path_);
if (p.size() == 0) {
if (p.isEmpty()) {
path_ = ".";
return *this;
}
@@ -197,7 +197,7 @@ bool PIDir::make(bool withParents) {
if (!cdp.isEmpty())
cdp += separator;
cdp += i;
//piCout << cdp;
//piCout << "dir" << cdp;
if (!isExists(cdp))
if (!makeDir(cdp))
return false;