* bfd.c (_bfd_default_error_handler): Account for doubled '%' in

free space available.
This commit is contained in:
Alan Modra 2004-08-16 01:14:42 +00:00
parent 9dadfa79ec
commit 45fc9e4ac6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-08-16 Alan Modra <amodra@bigpond.net.au>
* bfd.c (_bfd_default_error_handler): Account for doubled '%' in
free space available.
2004-08-16 Alan Modra <amodra@bigpond.net.au>
* pdp11.c (struct pdp11_aout_reloc_external): Delete. Replace

View File

@ -531,7 +531,9 @@ _bfd_default_error_handler (const char *fmt, ...)
}
while (--trim != 0);
*q = '\0';
avail = extra;
}
avail -= extra;
/* Now double all '%' chars, shuffling the string as we go. */
while (extra != 0)