[abrt/f15/master] flush messages in retrace client
Jiří Moskovčák
jmoskovc at fedoraproject.org
Fri May 6 11:09:40 UTC 2011
commit af9a891f229f6be5fba59177093efc5811566ff9
Author: Jiri Moskovcak <jmoskovc at redhat.com>
Date: Fri May 6 13:05:02 2011 +0200
flush messages in retrace client
abrt.spec | 7 ++++++-
retrace_client_flush.patch | 18 ++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/abrt.spec b/abrt.spec
index 5442e86..a219670 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -10,7 +10,7 @@
Summary: Automatic bug detection and reporting tool
Name: abrt
Version: 2.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: Applications/System
URL: https://fedorahosted.org/abrt/
@@ -22,6 +22,7 @@ Patch0: remove_libreport_python.patch
Patch1: blacklist.patch
Patch2: allow_bz_for_koops.patch
Patch3: retrace_addr.patch
+Patch4: retrace_client_flush.patch
BuildRequires: dbus-devel
BuildRequires: gtk2-devel
BuildRequires: curl-devel
@@ -262,6 +263,7 @@ generation service over a network using HTTP protocol.
%patch1 -p1 -b .blacklist
%patch2 -p1 -b bz_for_oops
%patch3 -p1 -b retrace_addr
+%patch4 -p1 -b flush_messages
%build
autoconf
@@ -647,6 +649,9 @@ fi
%{_infodir}/abrt-retrace-server*
%changelog
+* Fri May 06 2011 Jiri Moskovcak <jmoskovc at redhat.com> 2.0.2-2
+- flush messages in retrace client
+
* Thu May 05 2011 Jiri Moskovcak <jmoskovc at redhat.com> 2.0.2-1
- updated translation
- new icons (thanks to Lapo Calamandrei)
diff --git a/retrace_client_flush.patch b/retrace_client_flush.patch
new file mode 100644
index 0000000..11a62ec
--- /dev/null
+++ b/retrace_client_flush.patch
@@ -0,0 +1,18 @@
+commit a74f116ad098343282f5be157fd59e4e4aba4705
+Author: Michal Toman <mtoman at redhat.com>
+Date: Fri May 6 11:25:55 2011 +0200
+
+ retrace client: flush stdout after each status message in batch mode
+
+diff --git a/src/plugins/abrt-retrace-client.c b/src/plugins/abrt-retrace-client.c
+index 5ade792..1d46a8c 100644
+--- a/src/plugins/abrt-retrace-client.c
++++ b/src/plugins/abrt-retrace-client.c
+@@ -844,6 +844,7 @@ static int run_batch(bool delete_temp_archive)
+ sleep(10);
+ status(task_id, task_password, &task_status, &status_message);
+ puts(status_message);
++ fflush(stdout);
+ }
+ if (0 == strcmp(task_status, "FINISHED_SUCCESS"))
+ {
More information about the scm-commits
mailing list