Use putchar for the trailing `\n' in plugin message.

bfd/

2010-12-06  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>

	PR ld/12288
	* plugin.c (message): Add putchar for the trailing `\n'.

ld/

2010-12-06  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>

	PR ld/12288
	* plugin.c (message): Use putchar for the trailing `\n'.
This commit is contained in:
H.J. Lu 2010-12-06 20:25:49 +00:00
parent 8e0e408ae6
commit d9b2146348
4 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
PR ld/12288
* plugin.c (message): Add putchar for the trailing `\n'.
2010-12-04 Mike Frysinger <vapier@gentoo.org>
* Makefile.am (!INSTALL_LIBBFD/bfdinclude_HEADERS): Set to nothing.

View File

@ -78,6 +78,7 @@ message (int level ATTRIBUTE_UNUSED,
va_start (args, format);
printf ("bfd plugin: ");
vprintf (format, args);
putchar ('\n');
va_end (args);
return LDPS_OK;
}

View File

@ -1,3 +1,8 @@
2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
PR ld/12288
* plugin.c (message): Use putchar for the trailing `\n'.
2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
Dmitry Gorbachev <d.g.gorbachev@gmail.com>

View File

@ -598,7 +598,7 @@ message (int level, const char *format, ...)
break;
}
fputc('\n', stderr);
putchar('\n');
va_end (args);
return LDPS_OK;