Mercurial > hg > svcore
changeset 956:d002827b5896
comment only
author | Chris Cannam |
---|---|
date | Wed, 03 Sep 2014 09:46:01 +0100 |
parents | 5cadfcec89bc |
children | df83865d886f |
files | base/Debug.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/base/Debug.cpp Wed Sep 03 09:39:23 2014 +0100 +++ b/base/Debug.cpp Wed Sep 03 09:46:01 2014 +0100 @@ -45,6 +45,7 @@ if (!prefix) { prefix = new char[20]; sprintf(prefix, "[%lu]", (unsigned long)QCoreApplication::applicationPid()); + //!!! what to do if mkpath fails? if (!logdir.exists()) logdir.mkpath(logdir.path()); }