From patchwork Sun Jul 12 19:22:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Pluzhnikov X-Patchwork-Id: 494175 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B66861402AA for ; Mon, 13 Jul 2015 05:22:43 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=a14XsUrp; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :cc:content-type; q=dns; s=default; b=TWqqGpNpaMvcAakELercro2v1S jV5QPqVks4OMlS7d+XXcpy/bIosJz/NKh9gooZblKahKEDMtkjV+vMUUfkdQS/jD TJ30mKgqtWfEJaBXLINI9vNO0pwQBAhDcnZ2NbJnEd3xGz6qfeDn7WaOIwpNs1mK eV8R1kBsTBHMGnoLg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :cc:content-type; s=default; bh=3udeJzwslKb+ftw91WzUmrxb6sw=; b= a14XsUrpt1rsHGJc5Tp+/8oBBdXgPMu9e2nl5ygQpAiNvt5JTC4EK/mJttZBLjLC YN9OXAe+vdISvLGvQEtD/+dBVqJhRyB9rOgW8rG4+IPSqPvNVmn9K3cldapvhfgO 2t355p5/MSZpR56OLvUEEiN0p0T3HMnRuPI25fP4Pt4= Received: (qmail 44402 invoked by alias); 12 Jul 2015 19:22:37 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 44390 invoked by uid 89); 12 Jul 2015 19:22:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL, BAYES_05, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vn0-f44.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc:content-type; bh=CAp2obvZGL8eFOFUa/Q8o2uKJj1Ao0fBPdSJ4QBH4Is=; b=M7cfCKAm1Nh3n2YZczxINoN/yPBjWELxksnXUumH9VWdo8UG9/pk3SOmYbf6pQl/rC j+d3UFpBL9LbAJpgUu1dGSizEAnYP8y4P30Wk0EPQCYot1dgkj7LQwAOc+26aF/hXijG yMZqlbtE3ujbjGV5lV0ZDTvXzKTC+ckXifBjukyfygwoamfSI4BVG7m8DZfEDCYB18MR S91DR6cDlz/QvGYQoDN9ZArGp3jX4999Q1v2/KZRjo7fV0vW3F6m6hFc58m7zYa8U5Wk N3UIEnDY4393k2K+JFwOnnCM1C+Rn7o49PwXVB945F531MQue/S4kArvgBu9pYrRmpl9 cJLg== X-Gm-Message-State: ALoCoQlOwfjIt38uWY5/TESa7NJ+1+b8jo2P57sTyos/rH9+1eJ4X7x8IQaYH+VITldbu8Jv1vxG X-Received: by 10.52.167.105 with SMTP id zn9mr28193978vdb.83.1436728952703; Sun, 12 Jul 2015 12:22:32 -0700 (PDT) MIME-Version: 1.0 From: Paul Pluzhnikov Date: Sun, 12 Jul 2015 12:22:03 -0700 Message-ID: Subject: Fix failure to cleanup wide stream buffers in preparation for BZ#16734 fix To: GLIBC Devel Cc: Paul Pluzhnikov Greetings, In preparation for BZ#16734 fix, I've build libc with (not intended to commit): # include ... etc. This results in mtrace test failure: FAIL: misc/tst-error1-mem Attached patch fixes the test failure. Thanks, diff --git a/libio/libioP.h b/libio/libioP.h index d8604ca..d1699de 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -719,7 +719,7 @@ extern _IO_off64_t _IO_seekpos_unlocked (_IO_FILE *, _IO_off64_t, int) # endif #endif -#if _G_HAVE_MMAP +#if _G_HAVE_MMAP && 0 # include