projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ld/
[deliverable/binutils-gdb.git]
/
ld
/
ldmisc.c
diff --git
a/ld/ldmisc.c
b/ld/ldmisc.c
index 5112c716a45a5566801ad5c469038f26e9854c56..ca1896ff1c04ed80fe1ca5bf7706b22e81e7a98f 100644
(file)
--- a/
ld/ldmisc.c
+++ b/
ld/ldmisc.c
@@
-72,11
+72,14
@@
vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning)
while (*fmt != '\0')
{
+ const char *str = fmt;
while (*fmt != '%' && *fmt != '\0')
- {
- putc (*fmt, fp);
- fmt++;
- }
+ fmt++;
+ if (fmt != str)
+ if (fwrite (str, 1, fmt - str, fp))
+ {
+ /* Ignore. */
+ }
if (*fmt == '%')
{
This page took
0.023218 seconds
and
4
git commands to generate.