This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

Re: FYI: fix Solaris problem with auto host charset


>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

Eli> Btw, why is the code assuming that nl_langinfo always returns a
Eli> meaningful result?

Oversight.

Eli> Also, I don't quite get the reason why nl_langinfo is not called in
Eli> the PHONY_ICONV case.  It seems we blindly assume the native charset
Eli> is Latin-1 in that case, but perhaps nl_langinfo, if it exists, will
Eli> give a better guess?

In the PHONY_ICONV case we have no way to convert between character
sets.  I think this only affects u'' and U''; so it really a matter of
which failure you want in this situation.

If you want to change this, it is fine by me.

Tom


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