From 045fc841173b97d8754d0dfd75322bd4919c19e6 Mon Sep 17 00:00:00 2001 From: KWSys Robot Date: Mon, 24 Jun 2013 11:19:43 -0400 Subject: 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 --- SystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SystemTools.cxx b/SystemTools.cxx index 7891708..4d5af5e 100644 --- a/SystemTools.cxx +++ b/SystemTools.cxx @@ -605,7 +605,7 @@ bool SystemTools::MakeDirectory(const char* path) } if(SystemTools::FileExists(path)) { - return true; + return SystemTools::FileIsDirectory(path); } kwsys_stl::string dir = path; if(dir.size() == 0) -- cgit v0.12