From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22163 invoked by alias); 5 Feb 2009 16:46:59 -0000 Received: (qmail 22136 invoked by uid 22791); 5 Feb 2009 16:46:57 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Feb 2009 16:46:47 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n15Gkgcr003942; Thu, 5 Feb 2009 11:46:42 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n15Gkf7Q011971; Thu, 5 Feb 2009 11:46:41 -0500 Received: from opsy.redhat.com (vpn-14-114.rdu.redhat.com [10.11.14.114]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n15GkfBW031224; Thu, 5 Feb 2009 11:46:41 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id F194B5080FB; Thu, 5 Feb 2009 09:46:39 -0700 (MST) To: Thiago Jung Bauermann Cc: Pierre Muller , "'Daniel Jacobowitz'" , "'gdb-patches ml'" Subject: Re: [RFA] Add la_getstr member to language_defn References: <1227417278.28256.183.camel@localhost.localdomain> <20081123161013.GA15069@caradoc.them.org> <1227490821.8533.25.camel@hotblack.bauerhaus> <20081124022858.GA19331@caradoc.them.org> <1227551659.28256.225.camel@localhost.localdomain> <20081124202146.GA1991@caradoc.them.org> <1227564549.28256.248.camel@localhost.localdomain> <1230949603.8380.143.camel@localhost.localdomain> <1233665501.14735.7.camel@localhost.localdomain> <1233751023.14735.40.camel@localhost.localdomain> <1233785351.14735.56.camel@localhost.localdomain> <000401c987ab$bc52a520$34f7ef60$@u-strasbg.fr> <1233851589.14735.82.camel@localhost.localdomain> From: Tom Tromey Reply-To: tromey@redhat.com Date: Thu, 05 Feb 2009 16:46:00 -0000 In-Reply-To: <1233851589.14735.82.camel@localhost.localdomain> (Thiago Jung Bauermann's message of "Thu\, 05 Feb 2009 14\:33\:09 -0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00130.txt.bz2 >>>>> "Thiago" == Thiago Jung Bauermann writes: Thiago> Right. The contract (the comment above la_get_string in language_defn, Thiago> assuming it is legally binding :-) ) doesn't say that the string should Thiago> be null-terminated. And the length argument doesn't count the ending Thiago> null character, should it be present. Ah, thanks. I misunderstood the comment in language.h. Tom