diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-08-31 14:39:57 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-08-31 14:39:57 +0200 |
| commit | e448ad512e34bdcca527bde0b301de404011fff5 (patch) | |
| tree | 053197f8853f167323f99178c098e4f6cb13dfda /lib/plugins/RunApp.cpp | |
| parent | cfc620a36d2052f6b2fb6c6fa5acb10c1187819e (diff) | |
| parent | 236104f6d07a44463c164074723c16421831e8e2 (diff) | |
| download | abrt-e448ad512e34bdcca527bde0b301de404011fff5.tar.gz abrt-e448ad512e34bdcca527bde0b301de404011fff5.tar.xz abrt-e448ad512e34bdcca527bde0b301de404011fff5.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/plugins/RunApp.cpp')
| -rw-r--r-- | lib/plugins/RunApp.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/plugins/RunApp.cpp b/lib/plugins/RunApp.cpp index 632c26f1..f5833565 100644 --- a/lib/plugins/RunApp.cpp +++ b/lib/plugins/RunApp.cpp @@ -58,15 +58,16 @@ void CActionRunApp::Run(const char *pActionDir, const char *pArgs, int force) if (args.size() > FILENAME) { - CDebugDump dd; - if (!dd.Open(pActionDir)) + dump_dir_t *dd = dd_init(); + if (!dd_opendir(dd, pActionDir)) { + dd_close(dd); VERB1 log(_("Unable to open debug dump '%s'"), pActionDir); return; } - dd.SaveBinary(args[FILENAME].c_str(), cmd_out, cmd_out_size); - dd.Close(); + dd_savebin(dd, args[FILENAME].c_str(), cmd_out, cmd_out_size); + dd_close(dd); } free(cmd_out); |
