From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) by sourceware.org (Postfix) with ESMTPS id 834683858D28 for ; Tue, 14 Dec 2021 11:20:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 834683858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=seketeli.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=seketeli.org Received: (Authenticated sender: dodji@seketeli.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id B2D14200007; Tue, 14 Dec 2021 11:20:11 +0000 (UTC) Received: by localhost (Postfix, from userid 1000) id 1148258010A; Tue, 14 Dec 2021 12:20:10 +0100 (CET) From: Dodji Seketeli To: "Guillermo E. Martinez via Libabigail" Subject: Re: [PATCH v2] ctf-reader: Fix length in dynamic array definition Organization: Me, myself and I References: <20211126231718.119513-1-guillermo.e.martinez@oracle.com> <20211128015647.156104-1-guillermo.e.martinez@oracle.com> X-Operating-System: Fedora 36 X-URL: http://www.seketeli.net/~dodji Date: Tue, 14 Dec 2021 12:20:10 +0100 In-Reply-To: <20211128015647.156104-1-guillermo.e.martinez@oracle.com> (Guillermo E. Martinez via Libabigail's message of "Sat, 27 Nov 2021 19:56:47 -0600") Message-ID: <8735mvqvpx.fsf@seketeli.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2021 11:20:15 -0000 "Guillermo E. Martinez via Libabigail" a =C3=A9crit: > Defining an array type with dynamic length, node `subrange' > in the abixml file doesn't write the accurate `length' > property `infinite', instead `1' is written: > > > So, member function `array_type_def::subrange_type::is_infinite' > is set when `upper_bound' value is equal to `0'. > > * src/abg-ctf-reader.cc (process_ctf_array_type): > set subrange_type::is_infinite when `upper_bound' value > is equal to `0'. > > Signed-off-by: Guillermo E. Martinez Applied to master. Thanks! Cheers, --=20 Dodji