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