Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 272594
Collapse All | Expand All

(-)binutils-2.19.1.orig/libiberty/testsuite/test-demangle.c (-5 / +5 lines)
Lines 46-52 Link Here
46
#define LINELEN 80
46
#define LINELEN 80
47
47
48
static void
48
static void
49
getline(buf)
49
get_line(buf)
50
     struct line *buf;
50
     struct line *buf;
51
{
51
{
52
  char *data = buf->data;
52
  char *data = buf->data;
Lines 196-207 Link Here
196
    {
196
    {
197
      const char *inp;
197
      const char *inp;
198
      
198
      
199
      getline (&format);
199
      get_line (&format);
200
      if (feof (stdin))
200
      if (feof (stdin))
201
	break;
201
	break;
202
202
203
      getline (&input);
203
      get_line (&input);
204
      getline (&expect);
204
      get_line (&expect);
205
205
206
      inp = protect_end (input.data);
206
      inp = protect_end (input.data);
207
207
Lines 322-328 Link Here
322
322
323
      if (no_params)
323
      if (no_params)
324
	{
324
	{
325
	  getline (&expect);
325
	  get_line (&expect);
326
	  result = cplus_demangle (inp, DMGL_ANSI|DMGL_TYPES);
326
	  result = cplus_demangle (inp, DMGL_ANSI|DMGL_TYPES);
327
327
328
	  if (result
328
	  if (result

Return to bug 272594