# HG changeset patch # User Chris Cannam # Date 1409733961 -3600 # Node ID d002827b589622a916b55e548c534d9bc05fd723 # Parent 5cadfcec89bc7b4eebccb4e8a18eb6b541bf6c7a comment only diff -r 5cadfcec89bc -r d002827b5896 base/Debug.cpp --- 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()); }