diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2014-08-23 10:58:16 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2014-08-23 10:58:16 +0000 |
| commit | 2c41d7fd4d1f8c83136ec10374f43dedc44d7bbf (patch) | |
| tree | 32e8bcc7a624328374f4445ab029dc8bbc6c454e /contrib/binutils | |
| parent | 378eae25f83396cf72877b159d473962200bd989 (diff) | |
Notes
Diffstat (limited to 'contrib/binutils')
| -rw-r--r-- | contrib/binutils/binutils/cxxfilt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/binutils/binutils/cxxfilt.c b/contrib/binutils/binutils/cxxfilt.c index 1b297fd9da37..024079ba026e 100644 --- a/contrib/binutils/binutils/cxxfilt.c +++ b/contrib/binutils/binutils/cxxfilt.c @@ -44,12 +44,12 @@ demangle_it (char *mangled_name) /* For command line args, also try to demangle type encodings. */ result = cplus_demangle (mangled_name, flags | DMGL_TYPES); if (result == NULL) - { - printf ("%s\n", mangled_name); - } + printf ("%s",mangled_name); else { - printf ("%s\n", result); + if (mangled_name[0] == '.') + putchar ('.'); + printf ("%s",result); free (result); } } |
