From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2963 invoked by alias); 3 Mar 2003 19:05:52 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2953 invoked from network); 3 Mar 2003 19:05:51 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by 172.16.49.205 with SMTP; 3 Mar 2003 19:05:51 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id C8169D34B6; Mon, 3 Mar 2003 11:05:51 -0800 (PST) Date: Mon, 03 Mar 2003 19:05:00 -0000 From: Joel Brobecker To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: Missing check for mbsrtowc causes compilation failure on HP/UX 11.11 Message-ID: <20030303190551.GD19623@gnat.com> References: <20030128050317.GH6437@gnat.com> <20030128050444.GI6437@gnat.com> <15970.49260.386319.155222@localhost.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15970.49260.386319.155222@localhost.redhat.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-03/txt/msg00061.txt.bz2 > 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 * aclocal.m4: Add check for mbrtowc. * config.h.in: Regenerate. * configure: Regenerate. * rlmbutil.h: Disable multi-byte if mbrtowc is not defined. -- Joel