From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45636 invoked by alias); 1 Jun 2015 15:00:48 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 45606 invoked by uid 89); 1 Jun 2015 15:00:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (207.82.80.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 Jun 2015 15:00:46 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by uk-mta-6.uk.mimecast.lan; Mon, 01 Jun 2015 16:00:43 +0100 Received: from [10.2.207.14] ([10.1.2.79]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 1 Jun 2015 16:00:43 +0100 Message-ID: <556C739A.6040500@arm.com> Date: Mon, 01 Jun 2015 15:00:00 -0000 From: Renlin Li User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: "libstdc++@gcc.gnu.org" , Marcus Shawcroft Subject: [Ping][PATCH][libstdc++-v3] Add _GLIBCXX_HAVE_LIMIT_FSIZE to guard 27_io/fpos/14775.cc References: <5549CC2E.2060605@arm.com> In-Reply-To: <5549CC2E.2060605@arm.com> X-MC-Unique: 7CHQTHZhSCy5Rgjw2-zBDw-1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00085.txt.bz2 Ping~ Anybody can review this? Thank you! Regards, Renlin Li On 06/05/15 09:09, Renlin Li wrote: > Hi all, > > This is a simple patch to add _GLIBCXX_HAVE_LIMIT_FSIZE to guard the=20 > test. > > In libstdc++-v3/testsuite/util/testsuite_hooks.cc. set_file_limit()=20 > function is nullified when either _GLIBCXX_RES_LIMITS or=20 > _GLIBCXX_HAVE_LIMIT_FSIZE is not defined. > _GLIBCXX_USE_LFS can cover _GLIBCXX_RES_LIMITS, however,=20 > _GLIBCXX_HAVE_LIMIT_FSIZE is not checked. > > The complete condition for correct execution of this test case is=20 > that, those two macros are both defined. > > Is Okay to commit? > > Regards, > Renlin Li > > libstdc++-v3/ChangeLog: > > 2015-05-06 Renlin Li > > * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.