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


> Cc: gdb-patches@sourceware.org
> From: Tom Tromey <tromey@redhat.com>
> Date: Tue, 21 Apr 2009 12:53:26 -0600
> 
> >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
> 
> Eli> Btw, why is the code assuming that nl_langinfo always returns a
> Eli> meaningful result?
> 
> Tom> Oversight.
> 
> I re-read the relevant standard text online, and as far as I can tell,
> nl_langinfo will only return an empty string if the argument is invalid.
> So, I don't think this is an issue for gdb.

I thought "invalid argument" includes arguments that are unsupported.
Doesn't it?


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