diff base/Debug.cpp @ 980:6e6da0636e5e tonioni

Merge from default branch
author Chris Cannam
date Tue, 09 Sep 2014 16:36:21 +0100
parents d002827b5896
children e8e6c4e7437b
line wrap: on
line diff
--- a/base/Debug.cpp	Tue Sep 02 16:23:48 2014 +0100
+++ b/base/Debug.cpp	Tue Sep 09 16:36:21 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());
     }