From 6242c4a8ae5c1f3b2f2588f63d78c90f2fdbcf00 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 14 Jun 2011 21:27:28 -0400 Subject: [PATCH] Bug #788 - Fixed bug #788, which reported regex and readline versions, even though they are not used. --- ChangeLog | 2 ++ src/commands/CmdDiagnostics.cpp | 12 ------------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4f6b8e32f..9a2d79250 100644 --- a/ChangeLog +++ b/ChangeLog @@ -101,6 +101,8 @@ active (thanks to Adam Wolk). + Fixed bug #785, which fixes a broken build on Solaris (thanks to Owen Clarke). + + Fixed bug #788, which reported regex and readline versions, even though they + are not used. # Untracked Bugs, biggest first. + Fixed bug that required the '%YAML' prologue in a YAML import. diff --git a/src/commands/CmdDiagnostics.cpp b/src/commands/CmdDiagnostics.cpp index d4e50a9b7..88eb35f96 100644 --- a/src/commands/CmdDiagnostics.cpp +++ b/src/commands/CmdDiagnostics.cpp @@ -130,14 +130,6 @@ int CmdDiagnostics::execute (std::string& output) out << bold.colorize ("Libraries") << "\n"; - out << " Readline: " -#ifdef HAVE_LIBREADLINE - << std::setbase (16) << RL_READLINE_VERSION -#else - << "n/a" -#endif - << "\n"; - out << " Lua: " #ifdef HAVE_LIBLUA << LUA_RELEASE @@ -208,10 +200,6 @@ int CmdDiagnostics::execute (std::string& output) << (context.config.getBoolean ("locking") ? "Enabled" : "Disabled") << "\n"; - out << " Regex: " - << (context.config.getBoolean ("regex") ? "Enabled" : "Disabled") - << "\n"; - // Determine rc.editor/$EDITOR/$VISUAL. char* peditor; if (context.config.get ("editor") != "")