From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19051 invoked by alias); 9 Dec 2003 00:28:33 -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 19044 invoked from network); 9 Dec 2003 00:28:32 -0000 Received: from unknown (HELO smtp10.atl.mindspring.net) (207.69.200.246) by sources.redhat.com with SMTP; 9 Dec 2003 00:28:32 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by smtp10.atl.mindspring.net with esmtp (Exim 3.33 #1) id 1ATVjr-0004vQ-00; Mon, 08 Dec 2003 19:28:31 -0500 Received: by berman.michael-chastain.com (Postfix, from userid 502) id D91134B412; Mon, 8 Dec 2003 19:28:37 -0500 (EST) To: brobecker@gnat.com Subject: Re: [Fwd: native hppa2.0w-hp-hpux11.11] Cc: gdb@sources.redhat.com Message-Id: <20031209002837.D91134B412@berman.michael-chastain.com> Date: Tue, 09 Dec 2003 00:28:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2003-12/txt/msg00156.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. But Andrew has seven votes. :) Michael C