/*
- * Copyright (c) 1983 Regents of the University of California.
+ * Copyright (c) 1983, 1998 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
{
name++;
}
- demangled = cplus_demangle (name, DMGL_ANSI | DMGL_PARAMS);
- if (demangled)
+ if (demangle)
{
- name = demangled;
+ demangled = cplus_demangle (name, DMGL_ANSI | DMGL_PARAMS);
+ if (demangled)
+ {
+ name = demangled;
+ }
}
}
printf ("%s", name);
}
}
sprintf (buf, " (%s:%d)", filename, self->line_num);
- printf (buf);
+ printf ("%s", buf);
size += strlen (buf);
}
if (demangled)
if (self->cg.cyc.num != 0)
{
- printf (" <cycle %d>", self->cg.cyc.num);
+ printf (_(" <cycle %d>"), self->cg.cyc.num);
}
if (self->cg.index != 0)
{