[Aptitude-svn-commit] r4324 - in branches/aptitude-0.3/aptitude: .
src/generic/util
Daniel Burrows
dburrows at costa.debian.org
Wed Sep 28 04:26:17 UTC 2005
Author: dburrows
Date: Wed Sep 28 04:26:14 2005
New Revision: 4324
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/generic/util/exception.h
Log:
Fix the exception documentation.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Wed Sep 28 04:26:14 2005
@@ -1,5 +1,9 @@
2005-09-27 Daniel Burrows <dburrows at debian.org>
+ * src/generic/util/exception.h:
+
+ Update the exception documentation to match reality.
+
* configure.ac:
Fix the enabling of dynamic backtraces.
Modified: branches/aptitude-0.3/aptitude/src/generic/util/exception.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/util/exception.h (original)
+++ branches/aptitude-0.3/aptitude/src/generic/util/exception.h Wed Sep 28 04:26:14 2005
@@ -19,9 +19,10 @@
//
// A generic exception class supporting std::string error messages
// (unlike std::exception, which only supports const char* error
-// messages). It also implicitly generates a backtrace when it is
-// created. (NB: throwing this sort of exception when malloc() is
-// unavailable is a Bad Idea, and it's expensive to copy these around)
+// messages). If execinfo is available and ENABLE_DYNAMIC_BACKTRACE
+// is defined, it also generates information about the state of the
+// stack at the time of its instantiation (if not, then
+// get_backtrace() returns an empty string).
#ifndef EXCEPTION_H
#define EXCEPTION_H
More information about the Aptitude-svn-commit
mailing list