From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18229 invoked by alias); 12 Dec 2003 22:39:16 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18222 invoked from network); 12 Dec 2003 22:39:15 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 12 Dec 2003 22:39:15 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 6A05B2B8F; Fri, 12 Dec 2003 17:39:12 -0500 (EST) Message-ID: <3FDA4390.5020306@gnu.org> Date: Fri, 12 Dec 2003 22:39:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Elizabeth Chastain Cc: brobecker@gnat.com, gdb@sources.redhat.com Subject: Re: [Fwd: native hppa2.0w-hp-hpux11.11] References: <20031209002837.D91134B412@berman.michael-chastain.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-12/txt/msg00187.txt.bz2 > I'm getting a similar error to you, with mbrtowc (not mbsrtowc). > > Did you get a response back from bash-maintainers on your patch? > > Our solutions are different. Your solution is to add more checks > so that hpux will properly not be multi-byte. My solution is > to add a README.hpux file which tells the user to do this: > > CPPFLAGS=-D_XOPEN_SOURCE=500 configure > > Come to think of it, both parts are valid. The autoconfiguration stuff > should be set up the way you like, and then, if people want I18N support > on HP, _XOPEN_SOURCE should enable it. > > Here's the HP reference on this: > > http://www.docs.hp.com/hpux/onlinedocs/5187-3605/00/00/1-con.html > >> In my mind, hpux-10.20 was already no longer supported by GDB :-). > > > Well, that makes it 2-0. (I'll not object) so .... Andrew