summaryrefslogtreecommitdiffstats
path: root/binutils/test-demangle.c.diff
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /binutils/test-demangle.c.diff
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'binutils/test-demangle.c.diff')
-rw-r--r--binutils/test-demangle.c.diff40
1 files changed, 40 insertions, 0 deletions
diff --git a/binutils/test-demangle.c.diff b/binutils/test-demangle.c.diff
new file mode 100644
index 0000000..bda8b7d
--- /dev/null
+++ b/binutils/test-demangle.c.diff
@@ -0,0 +1,40 @@
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39752
+
+Index: libiberty/testsuite/test-demangle.c
+===================================================================
+--- libiberty/testsuite/test-demangle.c (revision 145957)
++++ libiberty/testsuite/test-demangle.c (working copy)
+@@ -46,7 +46,7 @@
+ #define LINELEN 80
+
+ static void
+-getline(buf)
++get_line(buf)
+ struct line *buf;
+ {
+ char *data = buf->data;
+@@ -196,12 +196,12 @@
+ {
+ const char *inp;
+
+- getline (&format);
++ get_line (&format);
+ if (feof (stdin))
+ break;
+
+- getline (&input);
+- getline (&expect);
++ get_line (&input);
++ get_line (&expect);
+
+ inp = protect_end (input.data);
+
+@@ -322,7 +322,7 @@
+
+ if (no_params)
+ {
+- getline (&expect);
++ get_line (&expect);
+ result = cplus_demangle (inp, DMGL_ANSI|DMGL_TYPES);
+
+ if (result