diff options
| author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-04-28 22:02:46 +0200 |
|---|---|---|
| committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-04-28 22:02:46 +0200 |
| commit | 1912a7c3980713ccc81e9fd2895873e29dc519a2 (patch) | |
| tree | b621e0f468ad43cdf408d18f9bd82cb7e80a4132 /src/plugins | |
| parent | c6971f6de60e441c8edfe38e192c84a179d173b1 (diff) | |
| download | abrt-1912a7c3980713ccc81e9fd2895873e29dc519a2.tar.gz abrt-1912a7c3980713ccc81e9fd2895873e29dc519a2.tar.xz abrt-1912a7c3980713ccc81e9fd2895873e29dc519a2.zip | |
Logger: output "END:" line to delimit appended reports. closes bz#698458
Also changes Bugzilla and abrt-cli output format.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | src/plugins/abrt-action-bugzilla.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/abrt-action-print.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/abrt-action-bugzilla.cpp b/src/plugins/abrt-action-bugzilla.cpp index d0281ce7..6f551e2c 100644 --- a/src/plugins/abrt-action-bugzilla.cpp +++ b/src/plugins/abrt-action-bugzilla.cpp @@ -530,8 +530,10 @@ int ctx::add_attachments(const char* bug_id_str, problem_data_t *problem_data) { const char *content = value->content; + // We were special-casing FILENAME_BACKTRACE here, but karel says + // he can retrieve it in inlined form from comments too. if ((value->flags & CD_FLAG_TXT) - && (strlen(content) > CD_TEXT_ATT_SIZE || (strcmp(name, FILENAME_BACKTRACE) == 0)) + && (strlen(content) > CD_TEXT_ATT_SIZE /*|| (strcmp(name, FILENAME_BACKTRACE) == 0)*/) ) { char *encoded64 = encode_base64(content, strlen(content)); char *filename = xasprintf("File: %s", name); diff --git a/src/plugins/abrt-action-print.c b/src/plugins/abrt-action-print.c index 1fbdf35a..f76abf86 100644 --- a/src/plugins/abrt-action-print.c +++ b/src/plugins/abrt-action-print.c @@ -81,6 +81,8 @@ int main(int argc, char **argv) char *dsc = make_description_logger(problem_data); fputs(dsc, stdout); + if (open_mode[0] == 'a') + fputs("\nEND:\n\n", stdout); free(dsc); free_problem_data(problem_data); |
