This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40446|0                           |1
        is obsolete|                            |
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 40447
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40447&action=edit
gcc7-pr77569.patch

Actually, the cb.error callback receives the message translated, without
further modifications like expansion of %s etc., so if we just don't strstr for
a substring, but instead strcmp with the whole message (after translation), I
think it should work both in C/locales without translation for this message as
well as locales that have it translated.  As my iconv handles ebcdic correctly,
I can't test though...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]