diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-14 16:04:04 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-14 16:04:04 +0100 |
commit | a0aa4bbdaa4d81ff54145af00a2c5a60671d3175 (patch) | |
tree | 0f1c62721c1600aabaec8265b020693eaf9b56e2 /lib/Plugins | |
parent | 5f3b126f3013cb78fa2e5a8beb935021e21d5c5d (diff) | |
download | abrt-a0aa4bbdaa4d81ff54145af00a2c5a60671d3175.tar.gz abrt-a0aa4bbdaa4d81ff54145af00a2c5a60671d3175.tar.xz abrt-a0aa4bbdaa4d81ff54145af00a2c5a60671d3175.zip |
a bit less verbose and more consistent log messages
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins')
-rw-r--r-- | lib/Plugins/CCpp.conf | 4 | ||||
-rw-r--r-- | lib/Plugins/CCpp.cpp | 6 | ||||
-rw-r--r-- | lib/Plugins/Firefox.cpp | 8 |
3 files changed, 6 insertions, 12 deletions
diff --git a/lib/Plugins/CCpp.conf b/lib/Plugins/CCpp.conf index e5ba5ad9..e42b85a4 100644 --- a/lib/Plugins/CCpp.conf +++ b/lib/Plugins/CCpp.conf @@ -7,8 +7,8 @@ MakeCompatCore = no # Generate memory map too (IGNORED FOR NOW) MemoryMap = no -# How to get debug-info: install, mount -## install - download and install debug-info packages +# How to get debuginfo: install, mount +## install - download and install debuginfo packages ## mount - mount fedora NFS with debug info ## (IGNORED FOR NOW) DebugInfo = install diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index e4c007a9..37a2c8bc 100644 --- a/lib/Plugins/CCpp.cpp +++ b/lib/Plugins/CCpp.cpp @@ -251,7 +251,7 @@ static void GetBacktrace(const char *pDebugDumpDir, const char *pDebugInfoDirs, string& pBacktrace) { - update_client(_("Getting backtrace...")); + update_client(_("Generating backtrace")); string UID; string executable; @@ -369,7 +369,7 @@ static void InstallDebugInfos(const char *pDebugDumpDir, const char *debuginfo_dirs, string& build_ids) { - update_client(_("Searching for debug-info packages...")); + update_client(_("Starting debuginfo installation")); int pipeout[2]; //TODO: can we use ExecVP? xpipe(pipeout); @@ -402,8 +402,6 @@ static void InstallDebugInfos(const char *pDebugDumpDir, close(pipeout[1]); - update_client(_("Downloading and installing debug-info packages...")); - FILE *pipeout_fp = fdopen(pipeout[0], "r"); if (pipeout_fp == NULL) /* never happens */ { diff --git a/lib/Plugins/Firefox.cpp b/lib/Plugins/Firefox.cpp index d9e6153a..f350715c 100644 --- a/lib/Plugins/Firefox.cpp +++ b/lib/Plugins/Firefox.cpp @@ -541,7 +541,7 @@ static void InstallDebugInfos(const char *pDebugDumpDir, std::string& build_ids) dd.LoadText(FILENAME_PACKAGE, package); } - update_client(_("Searching for debug-info packages...")); + update_client(_("Starting debuginfo installation")); int pipein[2], pipeout[2]; xpipe(pipein); @@ -603,8 +603,6 @@ Another application is holding the yum lock, cannot continue safe_write(pipein[1], "y\n", sizeof("y\n")-1); close(pipein[1]); - update_client(_("Downloading and installing debug-info packages...")); - FILE *pipeout_fp = fdopen(pipeout[0], "r"); if (pipeout_fp == NULL) /* never happens */ { @@ -668,7 +666,7 @@ Another application is holding the yum lock, cannot continue */ static void InstallDebugInfos(const char *pDebugDumpDir, std::string& build_ids) { - update_client(_("Searching for debug-info packages...")); + update_client(_("Starting debuginfo installation")); int pipeout[2]; //TODO: can we use ExecVP? xpipe(pipeout); @@ -701,8 +699,6 @@ static void InstallDebugInfos(const char *pDebugDumpDir, std::string& build_ids) close(pipeout[1]); - update_client(_("Downloading and installing debug-info packages...")); - FILE *pipeout_fp = fdopen(pipeout[0], "r"); if (pipeout_fp == NULL) /* never happens */ { |