From 275132c1fa10f12ff54fc07518e5518a65cef7ac Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 28 Jul 2012 09:18:37 -0400 Subject: [PATCH] Enhancement - The 'diagnostics' command now reports libuuid details. --- ChangeLog | 1 + src/commands/CmdDiagnostics.cpp | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0a25eb7a1..ecafb7733 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ Features + Stop consider new tasks after quitting a bulk change. + Removed deprecated 'fg:' and 'bg:' attributes. + + The 'diagnostics' command now reports libuuid details. Bugs + Fixed bug #1038, which prints blank lines with bulk changes and when the diff --git a/src/commands/CmdDiagnostics.cpp b/src/commands/CmdDiagnostics.cpp index 18564ed2e..f85dae55f 100644 --- a/src/commands/CmdDiagnostics.cpp +++ b/src/commands/CmdDiagnostics.cpp @@ -140,6 +140,16 @@ int CmdDiagnostics::execute (std::string& output) << LUA_RELEASE #else << "n/a" +#endif + << "\n"; + + out << " libuuid: " +#if defined (HAVE_UUID) and defined (HAVE_UUID_UNPARSE_LOWER) + << "libuuid + uuid_unparse_lower" +#elif defined (HAVE_UUID) and !defined (HAVE_UUID_UNPARSE_LOWER) + << "libuuid, no uuid_unparse_lower" +#else + << "n/a" #endif << "\n\n";