KWSys 2013-06-24 (3d1d4e7c)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 3d1d4e7c | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' d79a792e..3d1d4e7c Cory Quammen (1): 3d1d4e7c SystemTools: MakeDirectory() reports failure if path is file Change-Id: I080ed62630304c63c65efaf4be08198a6411ae48
This commit is contained in:
parent
6dc3dd91a6
commit
045fc84117
|
@ -605,7 +605,7 @@ bool SystemTools::MakeDirectory(const char* path)
|
||||||
}
|
}
|
||||||
if(SystemTools::FileExists(path))
|
if(SystemTools::FileExists(path))
|
||||||
{
|
{
|
||||||
return true;
|
return SystemTools::FileIsDirectory(path);
|
||||||
}
|
}
|
||||||
kwsys_stl::string dir = path;
|
kwsys_stl::string dir = path;
|
||||||
if(dir.size() == 0)
|
if(dir.size() == 0)
|
||||||
|
|
Loading…
Reference in New Issue