diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-04 11:04:00 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-04 11:04:00 +0200 |
| commit | 2a06cb20cd12be2f0299d70ec6500c5d9fd21b45 (patch) | |
| tree | c815ffd2d519adfa5968dc9412812ccf36b6b8be /lib/Plugins/CCpp.cpp | |
| parent | e98035a497eb82596e91ed64f7ecea30ea05220b (diff) | |
| download | abrt-2a06cb20cd12be2f0299d70ec6500c5d9fd21b45.tar.gz abrt-2a06cb20cd12be2f0299d70ec6500c5d9fd21b45.tar.xz abrt-2a06cb20cd12be2f0299d70ec6500c5d9fd21b45.zip | |
Minor fixes - just to make sources compile.
Diffstat (limited to 'lib/Plugins/CCpp.cpp')
| -rw-r--r-- | lib/Plugins/CCpp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index 9f9b874..026e15a 100644 --- a/lib/Plugins/CCpp.cpp +++ b/lib/Plugins/CCpp.cpp @@ -171,7 +171,7 @@ static void InstallDebugInfos(const std::string& pPackage) close(pipeout[0]); kill(child, SIGTERM); wait(NULL); - throw CABRTException(EXCEP_PLUGIN, string(__func__) + ": cannot install debuginfos for " + pPackage); + throw CABRTException(EXCEP_PLUGIN, std::string(__func__) + ": cannot install debuginfos for " + pPackage); } if (strstr(buff, "Total download size") != NULL) { @@ -182,7 +182,7 @@ static void InstallDebugInfos(const std::string& pPackage) close(pipeout[0]); kill(child, SIGTERM); wait(NULL); - throw CABRTException(EXCEP_PLUGIN, string(__func__) + ": cannot install debuginfos for " + pPackage); + throw CABRTException(EXCEP_PLUGIN, std::string(__func__) + ": cannot install debuginfos for " + pPackage); } comm_layer_inner_status("Downloading and installing debug-info packages..."); } @@ -362,7 +362,7 @@ static pid_t ExecVP(const char* pCommand, char* const pArgs[], uid_t uid, std::s struct passwd* pw = getpwuid(uid); if (!pw) { - throw CABRTException(EXCEP_PLUGIN, string(__func__) + ": cannot get GID for UID."); + throw CABRTException(EXCEP_PLUGIN, std::string(__func__) + ": cannot get GID for UID."); } pipe(pipeout); /* error check? */ @@ -371,7 +371,7 @@ static pid_t ExecVP(const char* pCommand, char* const pArgs[], uid_t uid, std::s { close(pipeout[0]); close(pipeout[1]); - throw CABRTException(EXCEP_PLUGIN, string(__func__) + ": fork failed."); + throw CABRTException(EXCEP_PLUGIN, std::string(__func__) + ": fork failed."); } if (child == 0) { |
