flush messages in retrace client
This commit is contained in:
parent
0082787aa1
commit
3c86bd28e8
2 changed files with 24 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
Summary: Automatic bug detection and reporting tool
|
Summary: Automatic bug detection and reporting tool
|
||||||
Name: abrt
|
Name: abrt
|
||||||
Version: 2.0.2
|
Version: 2.0.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: https://fedorahosted.org/abrt/
|
URL: https://fedorahosted.org/abrt/
|
||||||
|
|
@ -22,6 +22,7 @@ Patch0: remove_libreport_python.patch
|
||||||
Patch1: blacklist.patch
|
Patch1: blacklist.patch
|
||||||
Patch2: allow_bz_for_koops.patch
|
Patch2: allow_bz_for_koops.patch
|
||||||
Patch3: retrace_addr.patch
|
Patch3: retrace_addr.patch
|
||||||
|
Patch4: retrace_client_flush.patch
|
||||||
BuildRequires: dbus-devel
|
BuildRequires: dbus-devel
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: gtk2-devel
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
|
|
@ -262,6 +263,7 @@ generation service over a network using HTTP protocol.
|
||||||
%patch1 -p1 -b .blacklist
|
%patch1 -p1 -b .blacklist
|
||||||
%patch2 -p1 -b bz_for_oops
|
%patch2 -p1 -b bz_for_oops
|
||||||
%patch3 -p1 -b retrace_addr
|
%patch3 -p1 -b retrace_addr
|
||||||
|
%patch4 -p1 -b flush_messages
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoconf
|
autoconf
|
||||||
|
|
@ -644,6 +646,9 @@ fi
|
||||||
%{_infodir}/abrt-retrace-server*
|
%{_infodir}/abrt-retrace-server*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 06 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.2-2
|
||||||
|
- flush messages in retrace client
|
||||||
|
|
||||||
* Thu May 05 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.2-1
|
* Thu May 05 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.2-1
|
||||||
- updated translation
|
- updated translation
|
||||||
- new icons (thanks to Lapo Calamandrei)
|
- new icons (thanks to Lapo Calamandrei)
|
||||||
|
|
|
||||||
18
retrace_client_flush.patch
Normal file
18
retrace_client_flush.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
commit a74f116ad098343282f5be157fd59e4e4aba4705
|
||||||
|
Author: Michal Toman <mtoman@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"))
|
||||||
|
{
|
||||||
Loading…
Add table
Add a link
Reference in a new issue