[binutils/f19] oops - forgot new patch file
Nicholas Clifton
nickc at fedoraproject.org
Mon Sep 9 13:54:11 UTC 2013
commit af4e111600e1fa6a56b5699665b30f716359151f
Author: Nick Clifton <nickc at redhat.com>
Date: Mon Sep 9 14:53:11 2013 +0100
oops - forgot new patch file
binutils-2.23.51.0.1-readelf-flush-stdout.patch | 22 ++++++++++++++++++++++
binutils.spec | 1 -
2 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/binutils-2.23.51.0.1-readelf-flush-stdout.patch b/binutils-2.23.51.0.1-readelf-flush-stdout.patch
new file mode 100644
index 0000000..757e9a0
--- /dev/null
+++ b/binutils-2.23.51.0.1-readelf-flush-stdout.patch
@@ -0,0 +1,22 @@
+*** ../orig.binutils-2.23.51.0.1/binutils/elfcomm.c 2013-09-09 13:01:22.010343521 +0100
+--- binutils/elfcomm.c 2013-09-09 13:01:59.389344557 +0100
+*************** error (const char *message, ...)
+*** 36,41 ****
+--- 36,42 ----
+ {
+ va_list args;
+
++ fflush (stdout);
+ va_start (args, message);
+ fprintf (stderr, _("%s: Error: "), program_name);
+ vfprintf (stderr, message, args);
+*************** warn (const char *message, ...)
+*** 47,52 ****
+--- 48,54 ----
+ {
+ va_list args;
+
++ fflush (stdout);
+ va_start (args, message);
+ fprintf (stderr, _("%s: Warning: "), program_name);
+ vfprintf (stderr, message, args);
diff --git a/binutils.spec b/binutils.spec
index 59ef025..8eb3a7e 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -476,7 +476,6 @@ exit 0
%changelog
* Mon Sep 09 2013 Nick Clifton <nickc at redhat.com> - 2.23.52.0.1-11
- Make readelf flush stdout before emitting an error or warning message. (#1005182)
-- Fix problems building docs using texinfo version 5.
* Thu Aug 29 2013 Jakub Jelinek <jakub at redhat.com> - 2.23.52.0.1-10
- Add Intel AVX3, MPX and SHA support.
More information about the scm-commits
mailing list