[Bug bootstrap/77569] [7 Regression] self tests fail when not using C locale

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 4 07:54:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77569

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jan  4 07:53:30 2017
New Revision: 244047

URL: https://gcc.gnu.org/viewcvs?rev=244047&root=gcc&view=rev
Log:
        PR bootstrap/77569
        * input.c (ebcdic_execution_charset::on_error): Don't use strstr for
        a substring of the message, but strcmp with the whole message.  Ifdef
        ENABLE_NLS, translate the message first using dgettext.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/input.c


More information about the Gcc-bugs mailing list