This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Missing check for mbsrtowc causes compilation failure on HP/UX 11.11
- From: Joel Brobecker <brobecker at gnat dot com>
- To: Elena Zannoni <ezannoni at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 3 Mar 2003 11:05:51 -0800
- Subject: Re: Missing check for mbsrtowc causes compilation failure on HP/UX 11.11
- References: <20030128050317.GH6437@gnat.com> <20030128050444.GI6437@gnat.com> <15970.49260.386319.155222@localhost.redhat.com>
> Joel, feel free to commit this to the gdb copy of readline. Just make
> sure you add the changelog entry only to the ChangeLog.gdb file.
Thank you Elena. I've been lucky that I lost the sources where I worked
on this change, because I ended up re-applying the patch on my laptop
and test it again there. I thought I had tested it on Linux already, but
it turned out that I had made a typo in the name of the function to
check. This typo was sort of ok on the HP/UX machine, as the function
was not provided in any case, but it would have caused multi-byte
handling to be deactivated on other platforms... I sent the new patch
to the bash maintainers, and committed it in our tree.
2003-03-03 Joel Brobecker <brobecker at gnat dot com>
* aclocal.m4: Add check for mbrtowc.
* config.h.in: Regenerate.
* configure: Regenerate.
* rlmbutil.h: Disable multi-byte if mbrtowc is not defined.
--
Joel