[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22397] BFD internal error when message locale isn't C
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/22397] BFD internal error when message locale isn't C |
Date: |
Sun, 05 Nov 2017 08:24:05 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22397
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7167fe4c70ea74f1bb74a6130bb7e6bf5ca354ee
commit 7167fe4c70ea74f1bb74a6130bb7e6bf5ca354ee
Author: Alan Modra <address@hidden>
Date: Sun Nov 5 16:22:55 2017 +1030
PR22397, BFD internal error when message locale isn't C
This adds positional parameter support to the bfd error handler,
something that was lost 2017-04-13 when _doprnt was added with commit
c08bb8dd. The number of format args is now limited to 9, which is
sufficient for current _bfd_error_handler messages. If someone
exceeds 9 args they get the joy of modifying this code to support more
args (shouldn't be too difficult).
PR 22397
* bfd.c (union _bfd_doprnt_args): New.
(PRINT_TYPE): Add FIELD arg. Take value from args.
(_bfd_doprnt): Replace ap parameter with args. Adjust all
PRINT_TYPE invocations and reading of format args to suit.
Move "%%" handling out of switch handling args. Support
positional parameters.
(_bfd_doprnt_scan): New function.
(error_handler_internal): Call _bfd_doprnt_scan and read args.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/22397] New: BFD internal error when message locale isn't C, nintendocatz at msn dot com, 2017/11/04
- [Bug ld/22397] BFD internal error when message locale isn't C, amodra at gmail dot com, 2017/11/04
- [Bug ld/22397] BFD internal error when message locale isn't C,
cvs-commit at gcc dot gnu.org <=
- [Bug ld/22397] BFD internal error when message locale isn't C, nintendocatz at msn dot com, 2017/11/05
- [Bug ld/22397] BFD internal error when message locale isn't C, cvs-commit at gcc dot gnu.org, 2017/11/05
- [Bug ld/22397] BFD internal error when message locale isn't C, cvs-commit at gcc dot gnu.org, 2017/11/05
- [Bug ld/22397] BFD internal error when message locale isn't C, cvs-commit at gcc dot gnu.org, 2017/11/05
- [Bug ld/22397] BFD internal error when message locale isn't C, amodra at gmail dot com, 2017/11/07